- packagecom.mdj.dmdatabase.pool;
- importjava.io.IOException;
- importjava.io.PrintWriter;
- importjava.sql.Connection;
- importjava.sql.DatabaseMetaData;
- importjava.sql.ResultSet;
- importjava.sql.SQLException;
- importjava.util.List;
- importjava.util.Map;
- importjava.util.Vector;
- importjavax.xml.parsers.DocumentBuilder;
- importjavax.xml.parsers.DocumentBuilderFactory;
- importjavax.xml.parsers.ParserConfigurationException;
- importorg.w3c.dom.Document;
- importorg.w3c.dom.Element;
- importorg.w3c.dom.NodeList;
- importorg.xml.sax.SAXException;
- importcom.mdj.dmdatabase.develop.DmDataSource;
- /**
- *@since<ahref="http://blog.csdn.net/mak0000">Connectionpool
- *EasyconnectionPool</a>
- *@author武汉软件工程职业学院<br>
- *孟德军<br>
- *2009-01-01
- *@version2.0
- */
- publicabstractclassDmconnectionimplementsDmDataSource,DatabaseMetaData{
- /**
- *
- */
- privatestaticfinallongserialVersionUID=1L;
- /**
- *@see#databasemetaData数据源.
- */
- privateDatabaseMetaDatadatabasemetaData;
- /**
- *@see#resultset存放数据库的表信息.
- */
- privateResultSetresultset=null;
- /**
- *@see#map存放mapexecuteQuery查询结果
- */
- privateMapmap=null;
- /**
- *@see#list存放listexecuteQuery查询结果
- */
- privateListlist=null;
- /**
- *@see#con数据库连接
- */
- Connectioncon=null;
- /**
- *@see#pool连接池容器.可自行选择。
- */
- Vector<Connection>pool=null;
- /**
- *@see#driverclass数据库驱动类
- */
- Stringdriverclass=null;
- /**
- *@see#uername数据库用户名
- */
- Stringusername=null;
- /**
- *@see#password数据库密码
- */
- Stringpassword=null;
- /**
- *@see#url连接数据库url
- */
- Stringurl=null;
- /**
- *@see#filepath配置文件路径.
- */
- Stringfilepath=null;
- /**
- *@see#logpath日志文件路径.
- */
- Stringlogpath=null;
- /**
- *@see#maxwaittime允许等待时间
- */
- intmaxwaittime=0;
- /**
- *@see#delaytime延迟时间
- */
- intdelaytime=0;
- /**
- *@see#maxconnection最大连接
- */
- intmaxconnection=0;
- /**
- *@see#minconnection最小连接
- */
- intminconnection=0;
- /**
- *@see#poolsize连接池大小.
- */
- intpoolsize=0;
- /**
- *@see#addConnection()为连接池添加连接
- *@throwsClassNotFoundException
- */
- privatevoidaddConnection()throwsClassNotFoundException{
- }
- /**
- *@see#releaseConnection(Connection)释放连接,返还连接池.
- *@see#con当前连接.
- *
- */
- publicsynchronizedConnectiongetConnection()throwsSQLException{
- returncon;
- }
- /**
- *@see#releaseConnection(Connection)释放连接,返还连接池.
- *@paramcon
- *当前连接.
- */
- publicsynchronizedConnectiongetConnection(Stringusername,
- Stringpassword){
- returncon;
- }
- publicsynchronizedvoidreleaseConnection(Connectioncon){
- }
- /**
- *
- *@see#closeConnectionPool()关闭连接,清空连接池.
- *@throwsSQLException
- */
- publicvoidcloseConnectionPool()throwsSQLException{
- }
- /**
- *@see#scaner()扫描连接池.
- */
- privatevoidscaner(){
- }
- /**
- *@see#config(String)读取配置文件.
- *@paramfilepath
- *配置文件路径.
- *@throwsSAXException
- *
- */
- privatevoidconfig(Stringpath)throwsParserConfigurationException,
- IOException,SAXException{
- DocumentBuilderFactoryfactory=DocumentBuilderFactory.newInstance();
- DocumentBuilderbuilder=factory.newDocumentBuilder();
- Documentdocument=builder.parse(path);
- NodeListnodelist=document.getElementsByTagName("dbmsdriver");
- for(inti=0;i<nodelist.getLength();i++){
- Elementelement=(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)日志.
- *@parammsg
- *异常及日常信息.
- *@since<ahref="http://www.w3.org/xmlschema">建议将变量以配置文件形式存放,<br>
- *以方便使用,例如xml,properties<br>
- *文件.</a>
- */
- privatevoidserverlog(Stringmsg){
- }
- /**
- *@see#setLogWriter(PrintWriter)设置延时
- *@throwsSQLException
- */
- publicvoidsetLoginTimeout(intseconds)throwsSQLException{
- }
- /**
- *@see#getLoginTimeout()获取延时。
- *@throwsSQLException
- */
- publicabstractintgetLoginTimeout()throwsSQLException;
- /**
- *@see#setLogWriter(PrintWriter)设置日志.
- *@throwsSQLException
- */
- @SuppressWarnings("unused")
- publicabstractvoidsetLogWriter(PrintWriterout)throwsSQLException;
- /**
- *@see#getLogWriter()获取日志
- *@throwsSQLException
- */
- publicabstractPrintWritergetLogWriter()throwsSQLException;
- publicintgetJDBCMajorVersion()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicResultSetgetTables(Stringcatalog,Stringschemapattern,
- Stringtablenamepattern,String[]types)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicListlistexecuteQuery(Stringsql,Classbeanclass)
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicMapmapexecuteQuery(Stringsql)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicbooleanallProceduresAreCallable()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanallTablesAreSelectable()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleandataDefinitionCausesTransactionCommit()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleandataDefinitionIgnoredInTransactions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleandeletesAreDetected(intarg0)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleandoesMaxRowSizeIncludeBlobs()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicResultSetgetAttributes(Stringarg0,Stringarg1,Stringarg2,
- Stringarg3)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetBestRowIdentifier(Stringarg0,Stringarg1,
- Stringarg2,intarg3,booleanarg4)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetCatalogs()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetCatalogSeparator()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetCatalogTerm()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetColumnPrivileges(Stringarg0,Stringarg1,Stringarg2,
- Stringarg3)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetColumns(Stringarg0,Stringarg1,Stringarg2,
- Stringarg3)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetCrossReference(Stringarg0,Stringarg1,Stringarg2,
- Stringarg3,Stringarg4,Stringarg5)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicintgetDatabaseMajorVersion()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetDatabaseMinorVersion()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicStringgetDatabaseProductName()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetDatabaseProductVersion()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicintgetDefaultTransactionIsolation()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetDriverMajorVersion(){
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetDriverMinorVersion(){
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicStringgetDriverName()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetDriverVersion()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetExportedKeys(Stringarg0,Stringarg1,Stringarg2)
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetExtraNameCharacters()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetIdentifierQuoteString()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetImportedKeys(Stringarg0,Stringarg1,Stringarg2)
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetIndexInfo(Stringarg0,Stringarg1,Stringarg2,
- booleanarg3,booleanarg4)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicintgetJDBCMinorVersion()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxBinaryLiteralLength()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxCatalogNameLength()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxCharLiteralLength()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxColumnNameLength()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxColumnsInGroupBy()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxColumnsInIndex()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxColumnsInOrderBy()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxColumnsInSelect()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxColumnsInTable()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxConnections()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxCursorNameLength()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxIndexLength()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxProcedureNameLength()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxRowSize()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxSchemaNameLength()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxStatementLength()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxStatements()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxTableNameLength()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxTablesInSelect()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicintgetMaxUserNameLength()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicStringgetNumericFunctions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetPrimaryKeys(Stringarg0,Stringarg1,Stringarg2)
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetProcedureColumns(Stringarg0,Stringarg1,Stringarg2,
- Stringarg3)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetProcedures(Stringarg0,Stringarg1,Stringarg2)
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetProcedureTerm()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicintgetResultSetHoldability()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicResultSetgetSchemas()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetSchemaTerm()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetSearchStringEscape()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetSQLKeywords()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicintgetSQLStateType()throwsSQLException{
- //TODOAuto-generatedmethodstub
- return0;
- }
- publicStringgetStringFunctions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetSuperTables(Stringarg0,Stringarg1,Stringarg2)
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetSuperTypes(Stringarg0,Stringarg1,Stringarg2)
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetSystemFunctions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetTablePrivileges(Stringarg0,Stringarg1,Stringarg2)
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetTableTypes()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetTimeDateFunctions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetTypeInfo()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetUDTs(Stringarg0,Stringarg1,Stringarg2,int[]arg3)
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetURL()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicStringgetUserName()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicResultSetgetVersionColumns(Stringarg0,Stringarg1,Stringarg2)
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnnull;
- }
- publicbooleaninsertsAreDetected(intarg0)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanisCatalogAtStart()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanisReadOnly()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanlocatorsUpdateCopy()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleannullPlusNonNullIsNull()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleannullsAreSortedAtEnd()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleannullsAreSortedAtStart()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleannullsAreSortedHigh()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleannullsAreSortedLow()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanothersDeletesAreVisible(intarg0)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanothersInsertsAreVisible(intarg0)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanothersUpdatesAreVisible(intarg0)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanownDeletesAreVisible(intarg0)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanownInsertsAreVisible(intarg0)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanownUpdatesAreVisible(intarg0)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanstoresLowerCaseIdentifiers()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanstoresLowerCaseQuotedIdentifiers()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanstoresMixedCaseIdentifiers()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanstoresMixedCaseQuotedIdentifiers()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanstoresUpperCaseIdentifiers()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanstoresUpperCaseQuotedIdentifiers()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsAlterTableWithAddColumn()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsAlterTableWithDropColumn()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsANSI92EntryLevelSQL()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsANSI92FullSQL()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsANSI92IntermediateSQL()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsBatchUpdates()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsCatalogsInDataManipulation()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsCatalogsInIndexDefinitions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsCatalogsInPrivilegeDefinitions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsCatalogsInProcedureCalls()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsCatalogsInTableDefinitions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsColumnAliasing()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsConvert()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsConvert(intarg0,intarg1)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsCoreSQLGrammar()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsCorrelatedSubqueries()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsDataDefinitionAndDataManipulationTransactions()
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsDataManipulationTransactionsOnly()
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsDifferentTableCorrelationNames()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsExpressionsInOrderBy()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsExtendedSQLGrammar()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsFullOuterJoins()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsGetGeneratedKeys()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsGroupBy()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsGroupByBeyondSelect()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsGroupByUnrelated()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsIntegrityEnhancementFacility()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsLikeEscapeClause()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsLimitedOuterJoins()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsMinimumSQLGrammar()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsMixedCaseIdentifiers()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsMixedCaseQuotedIdentifiers()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsMultipleOpenResults()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsMultipleResultSets()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsMultipleTransactions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsNamedParameters()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsNonNullableColumns()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsOpenCursorsAcrossCommit()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsOpenCursorsAcrossRollback()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsOpenStatementsAcrossCommit()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsOpenStatementsAcrossRollback()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsOrderByUnrelated()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsOuterJoins()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsPositionedDelete()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsPositionedUpdate()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsResultSetConcurrency(intarg0,intarg1)
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsResultSetHoldability(intarg0)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsResultSetType(intarg0)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsSavepoints()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsSchemasInDataManipulation()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsSchemasInIndexDefinitions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsSchemasInPrivilegeDefinitions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsSchemasInProcedureCalls()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsSchemasInTableDefinitions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsSelectForUpdate()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsStatementPooling()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsStoredProcedures()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsSubqueriesInComparisons()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsSubqueriesInExists()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsSubqueriesInIns()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsSubqueriesInQuantifieds()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsTableCorrelationNames()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsTransactionIsolationLevel(intarg0)
- throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsTransactions()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsUnion()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleansupportsUnionAll()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanupdatesAreDetected(intarg0)throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanusesLocalFilePerTable()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- publicbooleanusesLocalFiles()throwsSQLException{
- //TODOAuto-generatedmethodstub
- returnfalse;
- }
- }
Dmconnection interface
最新推荐文章于 2024-05-21 23:25:20 发布