Dmconnection interface

  1. package com.mdj.dmdatabase.pool;
  2. import java.io.IOException;
  3. import java.io.PrintWriter;
  4. import java.sql.Connection;
  5. import java.sql.DatabaseMetaData;
  6. import java.sql.ResultSet;
  7. import java.sql.SQLException;
  8. import java.util.List;
  9. import java.util.Map;
  10. import java.util.Vector;
  11. import javax.xml.parsers.DocumentBuilder;
  12. import javax.xml.parsers.DocumentBuilderFactory;
  13. import javax.xml.parsers.ParserConfigurationException;
  14. import org.w3c.dom.Document;
  15. import org.w3c.dom.Element;
  16. import org.w3c.dom.NodeList;
  17. import org.xml.sax.SAXException;
  18. import com.mdj.dmdatabase.develop.DmDataSource;
  19. /**
  20.  * @since <a href="http://blog.csdn.net/mak0000">Connectionpool
  21.  *        EasyconnectionPool</a>
  22.  * @author 武汉软件工程职业学院<br>
  23.  *         孟德军<br>
  24.  *         2009-01-01
  25.  * @version 2.0
  26.  */
  27. public abstract class Dmconnection implements DmDataSource, DatabaseMetaData {
  28.     /**
  29.      * 
  30.      */
  31.     private static final long serialVersionUID = 1L;
  32.     /**
  33.      * @see #databasemetaData 数据源.
  34.      */
  35.     private DatabaseMetaData databasemetaData;
  36.     /**
  37.      * @see #resultset 存放数据库的表信息.
  38.      */
  39.     private ResultSet resultset = null;
  40.     /**
  41.      * @see #map 存放mapexecuteQuery查询结果
  42.      */
  43.     private Map map = null;
  44.     /**
  45.      * @see #list 存放listexecuteQuery查询结果
  46.      */
  47.     private List list = null;
  48.     /**
  49.      * @see #con 数据库连接
  50.      */
  51.     Connection con = null;
  52.     /**
  53.      * @see #pool 连接池容器.可自行选择。
  54.      */
  55.     Vector<Connection> pool = null;
  56.     /**
  57.      * @see #driverclass 数据库驱动类
  58.      */
  59.     String driverclass = null;
  60.     /**
  61.      * @see #uername 数据库用户名
  62.      */
  63.     String username = null;
  64.     /**
  65.      * @see #password 数据库密码
  66.      */
  67.     String password = null;
  68.     /**
  69.      * @see #url 连接数据库url
  70.      */
  71.     String url = null;
  72.     /**
  73.      * @see #filepath 配置文件路径.
  74.      */
  75.     String filepath = null;
  76.     /**
  77.      * @see #logpath 日志文件路径.
  78.      */
  79.     String logpath = null;
  80.     /**
  81.      * @see #maxwaittime 允许等待时间
  82.      */
  83.     int maxwaittime = 0;
  84.     /**
  85.      * @see #delaytime 延迟时间
  86.      */
  87.     int delaytime = 0;
  88.     /**
  89.      * @see #maxconnection 最大连接
  90.      */
  91.     int maxconnection = 0;
  92.     /**
  93.      * @see #minconnection 最小连接
  94.      */
  95.     int minconnection = 0;
  96.     /**
  97.      * @see #poolsize 连接池大小.
  98.      */
  99.     int poolsize = 0;
  100.     /**
  101.      * @see #addConnection() 为连接池添加连接
  102.      * @throws ClassNotFoundException
  103.      */
  104.     private void addConnection() throws ClassNotFoundException {
  105.     }
  106.     /**
  107.      * @see #releaseConnection(Connection) 释放连接,返还连接池.
  108.      * @see #con 当前连接.
  109.      * 
  110.      */
  111.     public synchronized Connection getConnection() throws SQLException {
  112.         return con;
  113.     }
  114.     /**
  115.      * @see #releaseConnection(Connection) 释放连接,返还连接池.
  116.      * @param con
  117.      *            当前连接.
  118.      */
  119.     public synchronized Connection getConnection(String username,
  120.             String password) {
  121.         return con;
  122.     }
  123.     public synchronized void releaseConnection(Connection con) {
  124.     }
  125.     /**
  126.      * 
  127.      * @see #closeConnectionPool() 关闭连接,清空连接池.
  128.      * @throws SQLException
  129.      */
  130.     public void closeConnectionPool() throws SQLException {
  131.     }
  132.     /**
  133.      * @see #scaner()扫描连接池.
  134.      */
  135.     private void scaner() {
  136.     }
  137.     /**
  138.      * @see #config(String) 读取配置文件.
  139.      * @param filepath
  140.      *            配置文件路径.
  141.      * @throws SAXException
  142.      * 
  143.      */
  144.     private void config(String path) throws ParserConfigurationException,
  145.             IOException, SAXException {
  146.         DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
  147.         DocumentBuilder builder = factory.newDocumentBuilder();
  148.         Document document = builder.parse(path);
  149.         NodeList nodelist = document.getElementsByTagName("dbmsdriver");
  150.         for (int i = 0; i < nodelist.getLength(); i++) {
  151.             Element element = (Element) nodelist.item(i);
  152.             driverclass = element.getElementsByTagName("driverclass").item(0)
  153.                     .getFirstChild().getNodeValue();
  154.             url = element.getElementsByTagName("url").item(0).getFirstChild()
  155.                     .getNodeValue();
  156.             username = element.getElementsByTagName("username").item(0)
  157.                     .getFirstChild().getNodeValue();
  158.             password = element.getElementsByTagName("password").item(0)
  159.                     .getFirstChild().getNodeValue();
  160.             maxconnection = Integer.parseInt(element.getElementsByTagName(
  161.                     "maxconnection").item(0).getFirstChild().getNodeValue());
  162.             minconnection = Integer.parseInt(element.getElementsByTagName(
  163.                     "minconnection").item(0).getFirstChild().getNodeValue());
  164.             logpath = element.getElementsByTagName("logpath").item(0)
  165.                     .getFirstChild().getNodeValue();
  166.             maxwaittime = Integer.parseInt(element.getElementsByTagName(
  167.                     "maxwait").item(0).getFirstChild().getNodeValue());
  168.             delaytime = Integer.parseInt(element
  169.                     .getElementsByTagName("maxwait").item(0).getFirstChild()
  170.                     .getNodeValue());
  171.         }
  172.     }
  173.     /**
  174.      * @see #serverlog(String) 日志.
  175.      * @param msg
  176.      *            异常及日常信息.
  177.      * @since <a href="http://www.w3.org/xmlschema">建议将变量以配置文件形式存放,<br>
  178.      *        以方便使用,例如xml,properties<br>
  179.      *        文件.</a>
  180.      */
  181.     private void serverlog(String msg) {
  182.     }
  183.     /**
  184.      * @see #setLogWriter(PrintWriter) 设置延时
  185.      * @throws SQLException
  186.      */
  187.     public void setLoginTimeout(int seconds) throws SQLException {
  188.     }
  189.     /**
  190.      * @see #getLoginTimeout() 获取延时。
  191.      * @throws SQLException
  192.      */
  193.     public abstract int getLoginTimeout() throws SQLException;
  194.     /**
  195.      * @see #setLogWriter(PrintWriter) 设置日志.
  196.      * @throws SQLException
  197.      */
  198.     @SuppressWarnings("unused")
  199.     public abstract void setLogWriter(PrintWriter out) throws SQLException;
  200.     /**
  201.      * @see #getLogWriter() 获取日志
  202.      * @throws SQLException
  203.      */
  204.     public abstract PrintWriter getLogWriter() throws SQLException;
  205.     public int getJDBCMajorVersion() throws SQLException {
  206.         // TODO Auto-generated method stub
  207.         return 0;
  208.     }
  209.     public ResultSet getTables(String catalog, String schemapattern,
  210.             String tablenamepattern, String[] types) throws SQLException {
  211.         // TODO Auto-generated method stub
  212.         return null;
  213.     }
  214.     public List listexecuteQuery(String sql, Class beanclass)
  215.             throws SQLException {
  216.         // TODO Auto-generated method stub
  217.         return null;
  218.     }
  219.     public Map mapexecuteQuery(String sql) throws SQLException {
  220.         // TODO Auto-generated method stub
  221.         return null;
  222.     }
  223.     public boolean allProceduresAreCallable() throws SQLException {
  224.         // TODO Auto-generated method stub
  225.         return false;
  226.     }
  227.     public boolean allTablesAreSelectable() throws SQLException {
  228.         // TODO Auto-generated method stub
  229.         return false;
  230.     }
  231.     public boolean dataDefinitionCausesTransactionCommit() throws SQLException {
  232.         // TODO Auto-generated method stub
  233.         return false;
  234.     }
  235.     public boolean dataDefinitionIgnoredInTransactions() throws SQLException {
  236.         // TODO Auto-generated method stub
  237.         return false;
  238.     }
  239.     public boolean deletesAreDetected(int arg0) throws SQLException {
  240.         // TODO Auto-generated method stub
  241.         return false;
  242.     }
  243.     public boolean doesMaxRowSizeIncludeBlobs() throws SQLException {
  244.         // TODO Auto-generated method stub
  245.         return false;
  246.     }
  247.     public ResultSet getAttributes(String arg0, String arg1, String arg2,
  248.             String arg3) throws SQLException {
  249.         // TODO Auto-generated method stub
  250.         return null;
  251.     }
  252.     public ResultSet getBestRowIdentifier(String arg0, String arg1,
  253.             String arg2, int arg3, boolean arg4) throws SQLException {
  254.         // TODO Auto-generated method stub
  255.         return null;
  256.     }
  257.     public ResultSet getCatalogs() throws SQLException {
  258.         // TODO Auto-generated method stub
  259.         return null;
  260.     }
  261.     public String getCatalogSeparator() throws SQLException {
  262.         // TODO Auto-generated method stub
  263.         return null;
  264.     }
  265.     public String getCatalogTerm() throws SQLException {
  266.         // TODO Auto-generated method stub
  267.         return null;
  268.     }
  269.     public ResultSet getColumnPrivileges(String arg0, String arg1, String arg2,
  270.             String arg3) throws SQLException {
  271.         // TODO Auto-generated method stub
  272.         return null;
  273.     }
  274.     public ResultSet getColumns(String arg0, String arg1, String arg2,
  275.             String arg3) throws SQLException {
  276.         // TODO Auto-generated method stub
  277.         return null;
  278.     }
  279.     public ResultSet getCrossReference(String arg0, String arg1, String arg2,
  280.             String arg3, String arg4, String arg5) throws SQLException {
  281.         // TODO Auto-generated method stub
  282.         return null;
  283.     }
  284.     public int getDatabaseMajorVersion() throws SQLException {
  285.         // TODO Auto-generated method stub
  286.         return 0;
  287.     }
  288.     public int getDatabaseMinorVersion() throws SQLException {
  289.         // TODO Auto-generated method stub
  290.         return 0;
  291.     }
  292.     public String getDatabaseProductName() throws SQLException {
  293.         // TODO Auto-generated method stub
  294.         return null;
  295.     }
  296.     public String getDatabaseProductVersion() throws SQLException {
  297.         // TODO Auto-generated method stub
  298.         return null;
  299.     }
  300.     public int getDefaultTransactionIsolation() throws SQLException {
  301.         // TODO Auto-generated method stub
  302.         return 0;
  303.     }
  304.     public int getDriverMajorVersion() {
  305.         // TODO Auto-generated method stub
  306.         return 0;
  307.     }
  308.     public int getDriverMinorVersion() {
  309.         // TODO Auto-generated method stub
  310.         return 0;
  311.     }
  312.     public String getDriverName() throws SQLException {
  313.         // TODO Auto-generated method stub
  314.         return null;
  315.     }
  316.     public String getDriverVersion() throws SQLException {
  317.         // TODO Auto-generated method stub
  318.         return null;
  319.     }
  320.     public ResultSet getExportedKeys(String arg0, String arg1, String arg2)
  321.             throws SQLException {
  322.         // TODO Auto-generated method stub
  323.         return null;
  324.     }
  325.     public String getExtraNameCharacters() throws SQLException {
  326.         // TODO Auto-generated method stub
  327.         return null;
  328.     }
  329.     public String getIdentifierQuoteString() throws SQLException {
  330.         // TODO Auto-generated method stub
  331.         return null;
  332.     }
  333.     public ResultSet getImportedKeys(String arg0, String arg1, String arg2)
  334.             throws SQLException {
  335.         // TODO Auto-generated method stub
  336.         return null;
  337.     }
  338.     public ResultSet getIndexInfo(String arg0, String arg1, String arg2,
  339.             boolean arg3, boolean arg4) throws SQLException {
  340.         // TODO Auto-generated method stub
  341.         return null;
  342.     }
  343.     public int getJDBCMinorVersion() throws SQLException {
  344.         // TODO Auto-generated method stub
  345.         return 0;
  346.     }
  347.     public int getMaxBinaryLiteralLength() throws SQLException {
  348.         // TODO Auto-generated method stub
  349.         return 0;
  350.     }
  351.     public int getMaxCatalogNameLength() throws SQLException {
  352.         // TODO Auto-generated method stub
  353.         return 0;
  354.     }
  355.     public int getMaxCharLiteralLength() throws SQLException {
  356.         // TODO Auto-generated method stub
  357.         return 0;
  358.     }
  359.     public int getMaxColumnNameLength() throws SQLException {
  360.         // TODO Auto-generated method stub
  361.         return 0;
  362.     }
  363.     public int getMaxColumnsInGroupBy() throws SQLException {
  364.         // TODO Auto-generated method stub
  365.         return 0;
  366.     }
  367.     public int getMaxColumnsInIndex() throws SQLException {
  368.         // TODO Auto-generated method stub
  369.         return 0;
  370.     }
  371.     public int getMaxColumnsInOrderBy() throws SQLException {
  372.         // TODO Auto-generated method stub
  373.         return 0;
  374.     }
  375.     public int getMaxColumnsInSelect() throws SQLException {
  376.         // TODO Auto-generated method stub
  377.         return 0;
  378.     }
  379.     public int getMaxColumnsInTable() throws SQLException {
  380.         // TODO Auto-generated method stub
  381.         return 0;
  382.     }
  383.     public int getMaxConnections() throws SQLException {
  384.         // TODO Auto-generated method stub
  385.         return 0;
  386.     }
  387.     public int getMaxCursorNameLength() throws SQLException {
  388.         // TODO Auto-generated method stub
  389.         return 0;
  390.     }
  391.     public int getMaxIndexLength() throws SQLException {
  392.         // TODO Auto-generated method stub
  393.         return 0;
  394.     }
  395.     public int getMaxProcedureNameLength() throws SQLException {
  396.         // TODO Auto-generated method stub
  397.         return 0;
  398.     }
  399.     public int getMaxRowSize() throws SQLException {
  400.         // TODO Auto-generated method stub
  401.         return 0;
  402.     }
  403.     public int getMaxSchemaNameLength() throws SQLException {
  404.         // TODO Auto-generated method stub
  405.         return 0;
  406.     }
  407.     public int getMaxStatementLength() throws SQLException {
  408.         // TODO Auto-generated method stub
  409.         return 0;
  410.     }
  411.     public int getMaxStatements() throws SQLException {
  412.         // TODO Auto-generated method stub
  413.         return 0;
  414.     }
  415.     public int getMaxTableNameLength() throws SQLException {
  416.         // TODO Auto-generated method stub
  417.         return 0;
  418.     }
  419.     public int getMaxTablesInSelect() throws SQLException {
  420.         // TODO Auto-generated method stub
  421.         return 0;
  422.     }
  423.     public int getMaxUserNameLength() throws SQLException {
  424.         // TODO Auto-generated method stub
  425.         return 0;
  426.     }
  427.     public String getNumericFunctions() throws SQLException {
  428.         // TODO Auto-generated method stub
  429.         return null;
  430.     }
  431.     public ResultSet getPrimaryKeys(String arg0, String arg1, String arg2)
  432.             throws SQLException {
  433.         // TODO Auto-generated method stub
  434.         return null;
  435.     }
  436.     public ResultSet getProcedureColumns(String arg0, String arg1, String arg2,
  437.             String arg3) throws SQLException {
  438.         // TODO Auto-generated method stub
  439.         return null;
  440.     }
  441.     public ResultSet getProcedures(String arg0, String arg1, String arg2)
  442.             throws SQLException {
  443.         // TODO Auto-generated method stub
  444.         return null;
  445.     }
  446.     public String getProcedureTerm() throws SQLException {
  447.         // TODO Auto-generated method stub
  448.         return null;
  449.     }
  450.     public int getResultSetHoldability() throws SQLException {
  451.         // TODO Auto-generated method stub
  452.         return 0;
  453.     }
  454.     public ResultSet getSchemas() throws SQLException {
  455.         // TODO Auto-generated method stub
  456.         return null;
  457.     }
  458.     public String getSchemaTerm() throws SQLException {
  459.         // TODO Auto-generated method stub
  460.         return null;
  461.     }
  462.     public String getSearchStringEscape() throws SQLException {
  463.         // TODO Auto-generated method stub
  464.         return null;
  465.     }
  466.     public String getSQLKeywords() throws SQLException {
  467.         // TODO Auto-generated method stub
  468.         return null;
  469.     }
  470.     public int getSQLStateType() throws SQLException {
  471.         // TODO Auto-generated method stub
  472.         return 0;
  473.     }
  474.     public String getStringFunctions() throws SQLException {
  475.         // TODO Auto-generated method stub
  476.         return null;
  477.     }
  478.     public ResultSet getSuperTables(String arg0, String arg1, String arg2)
  479.             throws SQLException {
  480.         // TODO Auto-generated method stub
  481.         return null;
  482.     }
  483.     public ResultSet getSuperTypes(String arg0, String arg1, String arg2)
  484.             throws SQLException {
  485.         // TODO Auto-generated method stub
  486.         return null;
  487.     }
  488.     public String getSystemFunctions() throws SQLException {
  489.         // TODO Auto-generated method stub
  490.         return null;
  491.     }
  492.     public ResultSet getTablePrivileges(String arg0, String arg1, String arg2)
  493.             throws SQLException {
  494.         // TODO Auto-generated method stub
  495.         return null;
  496.     }
  497.     public ResultSet getTableTypes() throws SQLException {
  498.         // TODO Auto-generated method stub
  499.         return null;
  500.     }
  501.     public String getTimeDateFunctions() throws SQLException {
  502.         // TODO Auto-generated method stub
  503.         return null;
  504.     }
  505.     public ResultSet getTypeInfo() throws SQLException {
  506.         // TODO Auto-generated method stub
  507.         return null;
  508.     }
  509.     public ResultSet getUDTs(String arg0, String arg1, String arg2, int[] arg3)
  510.             throws SQLException {
  511.         // TODO Auto-generated method stub
  512.         return null;
  513.     }
  514.     public String getURL() throws SQLException {
  515.         // TODO Auto-generated method stub
  516.         return null;
  517.     }
  518.     public String getUserName() throws SQLException {
  519.         // TODO Auto-generated method stub
  520.         return null;
  521.     }
  522.     public ResultSet getVersionColumns(String arg0, String arg1, String arg2)
  523.             throws SQLException {
  524.         // TODO Auto-generated method stub
  525.         return null;
  526.     }
  527.     public boolean insertsAreDetected(int arg0) throws SQLException {
  528.         // TODO Auto-generated method stub
  529.         return false;
  530.     }
  531.     public boolean isCatalogAtStart() throws SQLException {
  532.         // TODO Auto-generated method stub
  533.         return false;
  534.     }
  535.     public boolean isReadOnly() throws SQLException {
  536.         // TODO Auto-generated method stub
  537.         return false;
  538.     }
  539.     public boolean locatorsUpdateCopy() throws SQLException {
  540.         // TODO Auto-generated method stub
  541.         return false;
  542.     }
  543.     public boolean nullPlusNonNullIsNull() throws SQLException {
  544.         // TODO Auto-generated method stub
  545.         return false;
  546.     }
  547.     public boolean nullsAreSortedAtEnd() throws SQLException {
  548.         // TODO Auto-generated method stub
  549.         return false;
  550.     }
  551.     public boolean nullsAreSortedAtStart() throws SQLException {
  552.         // TODO Auto-generated method stub
  553.         return false;
  554.     }
  555.     public boolean nullsAreSortedHigh() throws SQLException {
  556.         // TODO Auto-generated method stub
  557.         return false;
  558.     }
  559.     public boolean nullsAreSortedLow() throws SQLException {
  560.         // TODO Auto-generated method stub
  561.         return false;
  562.     }
  563.     public boolean othersDeletesAreVisible(int arg0) throws SQLException {
  564.         // TODO Auto-generated method stub
  565.         return false;
  566.     }
  567.     public boolean othersInsertsAreVisible(int arg0) throws SQLException {
  568.         // TODO Auto-generated method stub
  569.         return false;
  570.     }
  571.     public boolean othersUpdatesAreVisible(int arg0) throws SQLException {
  572.         // TODO Auto-generated method stub
  573.         return false;
  574.     }
  575.     public boolean ownDeletesAreVisible(int arg0) throws SQLException {
  576.         // TODO Auto-generated method stub
  577.         return false;
  578.     }
  579.     public boolean ownInsertsAreVisible(int arg0) throws SQLException {
  580.         // TODO Auto-generated method stub
  581.         return false;
  582.     }
  583.     public boolean ownUpdatesAreVisible(int arg0) throws SQLException {
  584.         // TODO Auto-generated method stub
  585.         return false;
  586.     }
  587.     public boolean storesLowerCaseIdentifiers() throws SQLException {
  588.         // TODO Auto-generated method stub
  589.         return false;
  590.     }
  591.     public boolean storesLowerCaseQuotedIdentifiers() throws SQLException {
  592.         // TODO Auto-generated method stub
  593.         return false;
  594.     }
  595.     public boolean storesMixedCaseIdentifiers() throws SQLException {
  596.         // TODO Auto-generated method stub
  597.         return false;
  598.     }
  599.     public boolean storesMixedCaseQuotedIdentifiers() throws SQLException {
  600.         // TODO Auto-generated method stub
  601.         return false;
  602.     }
  603.     public boolean storesUpperCaseIdentifiers() throws SQLException {
  604.         // TODO Auto-generated method stub
  605.         return false;
  606.     }
  607.     public boolean storesUpperCaseQuotedIdentifiers() throws SQLException {
  608.         // TODO Auto-generated method stub
  609.         return false;
  610.     }
  611.     public boolean supportsAlterTableWithAddColumn() throws SQLException {
  612.         // TODO Auto-generated method stub
  613.         return false;
  614.     }
  615.     public boolean supportsAlterTableWithDropColumn() throws SQLException {
  616.         // TODO Auto-generated method stub
  617.         return false;
  618.     }
  619.     public boolean supportsANSI92EntryLevelSQL() throws SQLException {
  620.         // TODO Auto-generated method stub
  621.         return false;
  622.     }
  623.     public boolean supportsANSI92FullSQL() throws SQLException {
  624.         // TODO Auto-generated method stub
  625.         return false;
  626.     }
  627.     public boolean supportsANSI92IntermediateSQL() throws SQLException {
  628.         // TODO Auto-generated method stub
  629.         return false;
  630.     }
  631.     public boolean supportsBatchUpdates() throws SQLException {
  632.         // TODO Auto-generated method stub
  633.         return false;
  634.     }
  635.     public boolean supportsCatalogsInDataManipulation() throws SQLException {
  636.         // TODO Auto-generated method stub
  637.         return false;
  638.     }
  639.     public boolean supportsCatalogsInIndexDefinitions() throws SQLException {
  640.         // TODO Auto-generated method stub
  641.         return false;
  642.     }
  643.     public boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException {
  644.         // TODO Auto-generated method stub
  645.         return false;
  646.     }
  647.     public boolean supportsCatalogsInProcedureCalls() throws SQLException {
  648.         // TODO Auto-generated method stub
  649.         return false;
  650.     }
  651.     public boolean supportsCatalogsInTableDefinitions() throws SQLException {
  652.         // TODO Auto-generated method stub
  653.         return false;
  654.     }
  655.     public boolean supportsColumnAliasing() throws SQLException {
  656.         // TODO Auto-generated method stub
  657.         return false;
  658.     }
  659.     public boolean supportsConvert() throws SQLException {
  660.         // TODO Auto-generated method stub
  661.         return false;
  662.     }
  663.     public boolean supportsConvert(int arg0, int arg1) throws SQLException {
  664.         // TODO Auto-generated method stub
  665.         return false;
  666.     }
  667.     public boolean supportsCoreSQLGrammar() throws SQLException {
  668.         // TODO Auto-generated method stub
  669.         return false;
  670.     }
  671.     public boolean supportsCorrelatedSubqueries() throws SQLException {
  672.         // TODO Auto-generated method stub
  673.         return false;
  674.     }
  675.     public boolean supportsDataDefinitionAndDataManipulationTransactions()
  676.             throws SQLException {
  677.         // TODO Auto-generated method stub
  678.         return false;
  679.     }
  680.     public boolean supportsDataManipulationTransactionsOnly()
  681.             throws SQLException {
  682.         // TODO Auto-generated method stub
  683.         return false;
  684.     }
  685.     public boolean supportsDifferentTableCorrelationNames() throws SQLException {
  686.         // TODO Auto-generated method stub
  687.         return false;
  688.     }
  689.     public boolean supportsExpressionsInOrderBy() throws SQLException {
  690.         // TODO Auto-generated method stub
  691.         return false;
  692.     }
  693.     public boolean supportsExtendedSQLGrammar() throws SQLException {
  694.         // TODO Auto-generated method stub
  695.         return false;
  696.     }
  697.     public boolean supportsFullOuterJoins() throws SQLException {
  698.         // TODO Auto-generated method stub
  699.         return false;
  700.     }
  701.     public boolean supportsGetGeneratedKeys() throws SQLException {
  702.         // TODO Auto-generated method stub
  703.         return false;
  704.     }
  705.     public boolean supportsGroupBy() throws SQLException {
  706.         // TODO Auto-generated method stub
  707.         return false;
  708.     }
  709.     public boolean supportsGroupByBeyondSelect() throws SQLException {
  710.         // TODO Auto-generated method stub
  711.         return false;
  712.     }
  713.     public boolean supportsGroupByUnrelated() throws SQLException {
  714.         // TODO Auto-generated method stub
  715.         return false;
  716.     }
  717.     public boolean supportsIntegrityEnhancementFacility() throws SQLException {
  718.         // TODO Auto-generated method stub
  719.         return false;
  720.     }
  721.     public boolean supportsLikeEscapeClause() throws SQLException {
  722.         // TODO Auto-generated method stub
  723.         return false;
  724.     }
  725.     public boolean supportsLimitedOuterJoins() throws SQLException {
  726.         // TODO Auto-generated method stub
  727.         return false;
  728.     }
  729.     public boolean supportsMinimumSQLGrammar() throws SQLException {
  730.         // TODO Auto-generated method stub
  731.         return false;
  732.     }
  733.     public boolean supportsMixedCaseIdentifiers() throws SQLException {
  734.         // TODO Auto-generated method stub
  735.         return false;
  736.     }
  737.     public boolean supportsMixedCaseQuotedIdentifiers() throws SQLException {
  738.         // TODO Auto-generated method stub
  739.         return false;
  740.     }
  741.     public boolean supportsMultipleOpenResults() throws SQLException {
  742.         // TODO Auto-generated method stub
  743.         return false;
  744.     }
  745.     public boolean supportsMultipleResultSets() throws SQLException {
  746.         // TODO Auto-generated method stub
  747.         return false;
  748.     }
  749.     public boolean supportsMultipleTransactions() throws SQLException {
  750.         // TODO Auto-generated method stub
  751.         return false;
  752.     }
  753.     public boolean supportsNamedParameters() throws SQLException {
  754.         // TODO Auto-generated method stub
  755.         return false;
  756.     }
  757.     public boolean supportsNonNullableColumns() throws SQLException {
  758.         // TODO Auto-generated method stub
  759.         return false;
  760.     }
  761.     public boolean supportsOpenCursorsAcrossCommit() throws SQLException {
  762.         // TODO Auto-generated method stub
  763.         return false;
  764.     }
  765.     public boolean supportsOpenCursorsAcrossRollback() throws SQLException {
  766.         // TODO Auto-generated method stub
  767.         return false;
  768.     }
  769.     public boolean supportsOpenStatementsAcrossCommit() throws SQLException {
  770.         // TODO Auto-generated method stub
  771.         return false;
  772.     }
  773.     public boolean supportsOpenStatementsAcrossRollback() throws SQLException {
  774.         // TODO Auto-generated method stub
  775.         return false;
  776.     }
  777.     public boolean supportsOrderByUnrelated() throws SQLException {
  778.         // TODO Auto-generated method stub
  779.         return false;
  780.     }
  781.     public boolean supportsOuterJoins() throws SQLException {
  782.         // TODO Auto-generated method stub
  783.         return false;
  784.     }
  785.     public boolean supportsPositionedDelete() throws SQLException {
  786.         // TODO Auto-generated method stub
  787.         return false;
  788.     }
  789.     public boolean supportsPositionedUpdate() throws SQLException {
  790.         // TODO Auto-generated method stub
  791.         return false;
  792.     }
  793.     public boolean supportsResultSetConcurrency(int arg0, int arg1)
  794.             throws SQLException {
  795.         // TODO Auto-generated method stub
  796.         return false;
  797.     }
  798.     public boolean supportsResultSetHoldability(int arg0) throws SQLException {
  799.         // TODO Auto-generated method stub
  800.         return false;
  801.     }
  802.     public boolean supportsResultSetType(int arg0) throws SQLException {
  803.         // TODO Auto-generated method stub
  804.         return false;
  805.     }
  806.     public boolean supportsSavepoints() throws SQLException {
  807.         // TODO Auto-generated method stub
  808.         return false;
  809.     }
  810.     public boolean supportsSchemasInDataManipulation() throws SQLException {
  811.         // TODO Auto-generated method stub
  812.         return false;
  813.     }
  814.     public boolean supportsSchemasInIndexDefinitions() throws SQLException {
  815.         // TODO Auto-generated method stub
  816.         return false;
  817.     }
  818.     public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException {
  819.         // TODO Auto-generated method stub
  820.         return false;
  821.     }
  822.     public boolean supportsSchemasInProcedureCalls() throws SQLException {
  823.         // TODO Auto-generated method stub
  824.         return false;
  825.     }
  826.     public boolean supportsSchemasInTableDefinitions() throws SQLException {
  827.         // TODO Auto-generated method stub
  828.         return false;
  829.     }
  830.     public boolean supportsSelectForUpdate() throws SQLException {
  831.         // TODO Auto-generated method stub
  832.         return false;
  833.     }
  834.     public boolean supportsStatementPooling() throws SQLException {
  835.         // TODO Auto-generated method stub
  836.         return false;
  837.     }
  838.     public boolean supportsStoredProcedures() throws SQLException {
  839.         // TODO Auto-generated method stub
  840.         return false;
  841.     }
  842.     public boolean supportsSubqueriesInComparisons() throws SQLException {
  843.         // TODO Auto-generated method stub
  844.         return false;
  845.     }
  846.     public boolean supportsSubqueriesInExists() throws SQLException {
  847.         // TODO Auto-generated method stub
  848.         return false;
  849.     }
  850.     public boolean supportsSubqueriesInIns() throws SQLException {
  851.         // TODO Auto-generated method stub
  852.         return false;
  853.     }
  854.     public boolean supportsSubqueriesInQuantifieds() throws SQLException {
  855.         // TODO Auto-generated method stub
  856.         return false;
  857.     }
  858.     public boolean supportsTableCorrelationNames() throws SQLException {
  859.         // TODO Auto-generated method stub
  860.         return false;
  861.     }
  862.     public boolean supportsTransactionIsolationLevel(int arg0)
  863.             throws SQLException {
  864.         // TODO Auto-generated method stub
  865.         return false;
  866.     }
  867.     public boolean supportsTransactions() throws SQLException {
  868.         // TODO Auto-generated method stub
  869.         return false;
  870.     }
  871.     public boolean supportsUnion() throws SQLException {
  872.         // TODO Auto-generated method stub
  873.         return false;
  874.     }
  875.     public boolean supportsUnionAll() throws SQLException {
  876.         // TODO Auto-generated method stub
  877.         return false;
  878.     }
  879.     public boolean updatesAreDetected(int arg0) throws SQLException {
  880.         // TODO Auto-generated method stub
  881.         return false;
  882.     }
  883.     public boolean usesLocalFilePerTable() throws SQLException {
  884.         // TODO Auto-generated method stub
  885.         return false;
  886.     }
  887.     public boolean usesLocalFiles() throws SQLException {
  888.         // TODO Auto-generated method stub
  889.         return false;
  890.     }
  891. }
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值