- package com.mdj.dmdatabase.pool;
- import java.io.IOException;
- import java.io.PrintWriter;
- import java.sql.Connection;
- import java.sql.DatabaseMetaData;
- import java.sql.ResultSet;
- import java.sql.SQLException;
- import java.util.List;
- import java.util.Map;
- import java.util.Vector;
- import javax.xml.parsers.DocumentBuilder;
- import javax.xml.parsers.DocumentBuilderFactory;
- import javax.xml.parsers.ParserConfigurationException;
- import org.w3c.dom.Document;
- import org.w3c.dom.Element;
- import org.w3c.dom.NodeList;
- import org.xml.sax.SAXException;
- import com.mdj.dmdatabase.develop.DmDataSource;
- /**
- * @since <a href="http://blog.csdn.net/mak0000">Connectionpool
- * EasyconnectionPool</a>
- * @author 武汉软件工程职业学院<br>
- * 孟德军<br>
- * 2009-01-01
- * @version 2.0
- */
- public abstract class Dmconnection implements DmDataSource, DatabaseMetaData {
- /**
- *
- */
- private static final long serialVersionUID = 1L;
- /**
- * @see #databasemetaData 数据源.
- */
- private DatabaseMetaData databasemetaData;
- /**
- * @see #resultset 存放数据库的表信息.
- */
- private ResultSet resultset = null;
- /**
- * @see #map 存放mapexecuteQuery查询结果
- */
- private Map map = null;
- /**
- * @see #list 存放listexecuteQuery查询结果
- */
- private List list = null;
- /**
- * @see #con 数据库连接
- */
- Connection con = null;
- /**
- * @see #pool 连接池容器.可自行选择。
- */
- Vector<Connection> pool = null;
- /**
- * @see #driverclass 数据库驱动类
- */
- String driverclass = null;
- /**
- * @see #uername 数据库用户名
- */
- String username = null;
- /**
- * @see #password 数据库密码
- */
- String password = null;
- /**
- * @see #url 连接数据库url
- */
- String url = null;
- /**
- * @see #filepath 配置文件路径.
- */
- String filepath = null;
- /**
- * @see #logpath 日志文件路径.
- */
- String logpath = null;
- /**
- * @see #maxwaittime 允许等待时间
- */
- int maxwaittime = 0;
- /**
- * @see #delaytime 延迟时间
- */
- int delaytime = 0;
- /**
- * @see #maxconnection 最大连接
- */
- int maxconnection = 0;
- /**
- * @see #minconnection 最小连接
- */
- int minconnection = 0;
- /**
- * @see #poolsize 连接池大小.
- */
- int poolsize = 0;
- /**
- * @see #addConnection() 为连接池添加连接
- * @throws ClassNotFoundException
- */
- private void addConnection() throws ClassNotFoundException {
- }
- /**
- * @see #releaseConnection(Connection) 释放连接,返还连接池.
- * @see #con 当前连接.
- *
- */
- public synchronized Connection getConnection() throws SQLException {
- return con;
- }
- /**
- * @see #releaseConnection(Connection) 释放连接,返还连接池.
- * @param con
- * 当前连接.
- */
- public synchronized Connection getConnection(String username,
- String password) {
- return con;
- }
- public synchronized void releaseConnection(Connection con) {
- }
- /**
- *
- * @see #closeConnectionPool() 关闭连接,清空连接池.
- * @throws SQLException
- */
- public void closeConnectionPool() throws SQLException {
- }
- /**
- * @see #scaner()扫描连接池.
- */
- private void scaner() {
- }
- /**
- * @see #config(String) 读取配置文件.
- * @param filepath
- * 配置文件路径.
- * @throws SAXException
- *
- */
- private void config(String path) throws ParserConfigurationException,
- IOException, SAXException {
- DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
- DocumentBuilder builder = factory.newDocumentBuilder();
- Document document = builder.parse(path);
- NodeList nodelist = document.getElementsByTagName("dbmsdriver");
- for (int i = 0; i < nodelist.getLength(); i++) {
- Element element = (Element) nodelist.item(i);
- driverclass = element.getElementsByTagName("driverclass").item(0)
- .getFirstChild().getNodeValue();
- url = element.getElementsByTagName("url").item(0).getFirstChild()
- .getNodeValue();
- username = element.getElementsByTagName("username").item(0)
- .getFirstChild().getNodeValue();
- password = element.getElementsByTagName("password").item(0)
- .getFirstChild().getNodeValue();
- maxconnection = Integer.parseInt(element.getElementsByTagName(
- "maxconnection").item(0).getFirstChild().getNodeValue());
- minconnection = Integer.parseInt(element.getElementsByTagName(
- "minconnection").item(0).getFirstChild().getNodeValue());
- logpath = element.getElementsByTagName("logpath").item(0)
- .getFirstChild().getNodeValue();
- maxwaittime = Integer.parseInt(element.getElementsByTagName(
- "maxwait").item(0).getFirstChild().getNodeValue());
- delaytime = Integer.parseInt(element
- .getElementsByTagName("maxwait").item(0).getFirstChild()
- .getNodeValue());
- }
- }
- /**
- * @see #serverlog(String) 日志.
- * @param msg
- * 异常及日常信息.
- * @since <a href="http://www.w3.org/xmlschema">建议将变量以配置文件形式存放,<br>
- * 以方便使用,例如xml,properties<br>
- * 文件.</a>
- */
- private void serverlog(String msg) {
- }
- /**
- * @see #setLogWriter(PrintWriter) 设置延时
- * @throws SQLException
- */
- public void setLoginTimeout(int seconds) throws SQLException {
- }
- /**
- * @see #getLoginTimeout() 获取延时。
- * @throws SQLException
- */
- public abstract int getLoginTimeout() throws SQLException;
- /**
- * @see #setLogWriter(PrintWriter) 设置日志.
- * @throws SQLException
- */
- @SuppressWarnings("unused")
- public abstract void setLogWriter(PrintWriter out) throws SQLException;
- /**
- * @see #getLogWriter() 获取日志
- * @throws SQLException
- */
- public abstract PrintWriter getLogWriter() throws SQLException;
- public int getJDBCMajorVersion() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public ResultSet getTables(String catalog, String schemapattern,
- String tablenamepattern, String[] types) throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public List listexecuteQuery(String sql, Class beanclass)
- throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public Map mapexecuteQuery(String sql) throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public boolean allProceduresAreCallable() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean allTablesAreSelectable() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean dataDefinitionCausesTransactionCommit() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean dataDefinitionIgnoredInTransactions() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean deletesAreDetected(int arg0) throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean doesMaxRowSizeIncludeBlobs() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public ResultSet getAttributes(String arg0, String arg1, String arg2,
- String arg3) throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getBestRowIdentifier(String arg0, String arg1,
- String arg2, int arg3, boolean arg4) throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getCatalogs() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getCatalogSeparator() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getCatalogTerm() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getColumnPrivileges(String arg0, String arg1, String arg2,
- String arg3) throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getColumns(String arg0, String arg1, String arg2,
- String arg3) throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getCrossReference(String arg0, String arg1, String arg2,
- String arg3, String arg4, String arg5) throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public int getDatabaseMajorVersion() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getDatabaseMinorVersion() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public String getDatabaseProductName() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getDatabaseProductVersion() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public int getDefaultTransactionIsolation() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getDriverMajorVersion() {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getDriverMinorVersion() {
- // TODO Auto-generated method stub
- return 0;
- }
- public String getDriverName() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getDriverVersion() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getExportedKeys(String arg0, String arg1, String arg2)
- throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getExtraNameCharacters() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getIdentifierQuoteString() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getImportedKeys(String arg0, String arg1, String arg2)
- throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getIndexInfo(String arg0, String arg1, String arg2,
- boolean arg3, boolean arg4) throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public int getJDBCMinorVersion() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxBinaryLiteralLength() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxCatalogNameLength() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxCharLiteralLength() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxColumnNameLength() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxColumnsInGroupBy() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxColumnsInIndex() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxColumnsInOrderBy() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxColumnsInSelect() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxColumnsInTable() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxConnections() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxCursorNameLength() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxIndexLength() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxProcedureNameLength() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxRowSize() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxSchemaNameLength() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxStatementLength() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxStatements() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxTableNameLength() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxTablesInSelect() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public int getMaxUserNameLength() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public String getNumericFunctions() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getPrimaryKeys(String arg0, String arg1, String arg2)
- throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getProcedureColumns(String arg0, String arg1, String arg2,
- String arg3) throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getProcedures(String arg0, String arg1, String arg2)
- throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getProcedureTerm() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public int getResultSetHoldability() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public ResultSet getSchemas() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getSchemaTerm() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getSearchStringEscape() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getSQLKeywords() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public int getSQLStateType() throws SQLException {
- // TODO Auto-generated method stub
- return 0;
- }
- public String getStringFunctions() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getSuperTables(String arg0, String arg1, String arg2)
- throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getSuperTypes(String arg0, String arg1, String arg2)
- throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getSystemFunctions() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getTablePrivileges(String arg0, String arg1, String arg2)
- throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getTableTypes() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getTimeDateFunctions() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getTypeInfo() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getUDTs(String arg0, String arg1, String arg2, int[] arg3)
- throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getURL() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public String getUserName() throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public ResultSet getVersionColumns(String arg0, String arg1, String arg2)
- throws SQLException {
- // TODO Auto-generated method stub
- return null;
- }
- public boolean insertsAreDetected(int arg0) throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean isCatalogAtStart() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean isReadOnly() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean locatorsUpdateCopy() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean nullPlusNonNullIsNull() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean nullsAreSortedAtEnd() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean nullsAreSortedAtStart() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean nullsAreSortedHigh() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean nullsAreSortedLow() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean othersDeletesAreVisible(int arg0) throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean othersInsertsAreVisible(int arg0) throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean othersUpdatesAreVisible(int arg0) throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean ownDeletesAreVisible(int arg0) throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean ownInsertsAreVisible(int arg0) throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean ownUpdatesAreVisible(int arg0) throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean storesLowerCaseIdentifiers() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean storesLowerCaseQuotedIdentifiers() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean storesMixedCaseIdentifiers() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean storesMixedCaseQuotedIdentifiers() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean storesUpperCaseIdentifiers() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean storesUpperCaseQuotedIdentifiers() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsAlterTableWithAddColumn() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsAlterTableWithDropColumn() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsANSI92EntryLevelSQL() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsANSI92FullSQL() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsANSI92IntermediateSQL() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsBatchUpdates() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsCatalogsInDataManipulation() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsCatalogsInIndexDefinitions() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsCatalogsInProcedureCalls() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsCatalogsInTableDefinitions() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsColumnAliasing() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsConvert() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsConvert(int arg0, int arg1) throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsCoreSQLGrammar() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsCorrelatedSubqueries() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsDataDefinitionAndDataManipulationTransactions()
- throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsDataManipulationTransactionsOnly()
- throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsDifferentTableCorrelationNames() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsExpressionsInOrderBy() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsExtendedSQLGrammar() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsFullOuterJoins() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsGetGeneratedKeys() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsGroupBy() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsGroupByBeyondSelect() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsGroupByUnrelated() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsIntegrityEnhancementFacility() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsLikeEscapeClause() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsLimitedOuterJoins() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsMinimumSQLGrammar() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsMixedCaseIdentifiers() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsMixedCaseQuotedIdentifiers() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsMultipleOpenResults() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsMultipleResultSets() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsMultipleTransactions() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsNamedParameters() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsNonNullableColumns() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsOpenCursorsAcrossCommit() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsOpenCursorsAcrossRollback() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsOpenStatementsAcrossCommit() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsOpenStatementsAcrossRollback() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsOrderByUnrelated() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsOuterJoins() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsPositionedDelete() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsPositionedUpdate() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsResultSetConcurrency(int arg0, int arg1)
- throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsResultSetHoldability(int arg0) throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsResultSetType(int arg0) throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsSavepoints() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsSchemasInDataManipulation() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsSchemasInIndexDefinitions() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsSchemasInProcedureCalls() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsSchemasInTableDefinitions() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsSelectForUpdate() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsStatementPooling() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsStoredProcedures() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsSubqueriesInComparisons() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsSubqueriesInExists() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsSubqueriesInIns() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsSubqueriesInQuantifieds() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsTableCorrelationNames() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsTransactionIsolationLevel(int arg0)
- throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsTransactions() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsUnion() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean supportsUnionAll() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean updatesAreDetected(int arg0) throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean usesLocalFilePerTable() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- public boolean usesLocalFiles() throws SQLException {
- // TODO Auto-generated method stub
- return false;
- }
- }
Dmconnection interface
最新推荐文章于 2023-11-25 00:00:22 发布