public class WSConnection extends AbstractConnection
catalog, clientInfoProps, isClosed| 构造器和说明 |
|---|
WSConnection(String url,
Properties properties,
Transport transport,
String database) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
Statement |
createStatement() |
DatabaseMetaData |
getMetaData() |
boolean |
isClosed() |
PreparedStatement |
prepareStatement(String sql) |
abort, clearWarnings, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMapisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperFor, unwrappublic WSConnection(String url, Properties properties, Transport transport, String database)
public Statement createStatement() throws SQLException
createStatement 在接口中 ConnectioncreateStatement 在类中 AbstractConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement 在接口中 ConnectionprepareStatement 在类中 AbstractConnectionSQLExceptionpublic void close()
throws SQLException
close 在接口中 AutoCloseableclose 在接口中 Connectionclose 在类中 AbstractConnectionSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed 在接口中 ConnectionisClosed 在类中 AbstractConnectionSQLExceptionpublic DatabaseMetaData getMetaData() throws SQLException
getMetaData 在接口中 ConnectiongetMetaData 在类中 AbstractConnectionSQLExceptionCopyright © 2022. All rights reserved.