public class SQLiteConnection extends Object implements Connection
| 修飾子とタイプ | フィールドと説明 |
|---|---|
SQLiteConfig.DateClass |
dateClass |
DateFormat |
dateFormat |
long |
dateMultiplier |
SQLiteConfig.DatePrecision |
datePrecision |
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| コンストラクタと説明 |
|---|
SQLiteConnection(String url,
String fileName)
Constructor to create a connection to a database at the given location.
|
SQLiteConnection(String url,
String fileName,
Properties prop)
Constructor to create a pre-configured connection to a database at the
given location.
|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabort, createArrayOf, createBlob, createClob, createNClob, createSQLXML, getClientInfo, getClientInfo, getNetworkTimeout, getSchema, isValid, setClientInfo, setClientInfo, setNetworkTimeout, setSchemaisWrapperFor, unwrappublic final SQLiteConfig.DateClass dateClass
public final SQLiteConfig.DatePrecision datePrecision
public final long dateMultiplier
public final DateFormat dateFormat
public SQLiteConnection(String url, String fileName) throws SQLException
url - The location of the database.fileName - The database.SQLExceptionpublic SQLiteConnection(String url, String fileName, Properties prop) throws SQLException
url - The location of the database file.fileName - The database.prop - The configurations to apply.SQLExceptionpublic int getBusyTimeout()
public void setBusyTimeout(int milliseconds)
throws SQLException
milliseconds - The timeout value in milliseconds.SQLExceptionpublic void finalize()
throws SQLException
finalize クラス内 ObjectSQLExceptionObject.finalize()public void close()
throws SQLException
close インタフェース内 AutoCloseableclose インタフェース内 ConnectionSQLExceptionConnection.close()public boolean isClosed()
throws SQLException
isClosed インタフェース内 ConnectionSQLExceptionConnection.isClosed()public String getCatalog() throws SQLException
getCatalog インタフェース内 ConnectionSQLExceptionConnection.getCatalog()public void setCatalog(String catalog) throws SQLException
setCatalog インタフェース内 ConnectionSQLExceptionConnection.setCatalog(java.lang.String)public int getHoldability()
throws SQLException
getHoldability インタフェース内 ConnectionSQLExceptionConnection.getHoldability()public void setHoldability(int h)
throws SQLException
setHoldability インタフェース内 ConnectionSQLExceptionConnection.setHoldability(int)public int getTransactionIsolation()
getTransactionIsolation インタフェース内 ConnectionConnection.getTransactionIsolation()public void setTransactionIsolation(int level)
throws SQLException
setTransactionIsolation インタフェース内 ConnectionSQLExceptionConnection.setTransactionIsolation(int)protected void setTransactionMode(SQLiteConfig.TransactionMode mode)
mode - One of SQLiteConfig.TransactionModepublic Map<String,Class<?>> getTypeMap() throws SQLException
getTypeMap インタフェース内 ConnectionSQLExceptionConnection.getTypeMap()public void setTypeMap(Map map) throws SQLException
setTypeMap インタフェース内 ConnectionSQLExceptionConnection.setTypeMap(java.util.Map)public boolean isReadOnly()
throws SQLException
isReadOnly インタフェース内 ConnectionSQLExceptionConnection.isReadOnly()public void setReadOnly(boolean ro)
throws SQLException
setReadOnly インタフェース内 ConnectionSQLExceptionConnection.setReadOnly(boolean)public DatabaseMetaData getMetaData() throws SQLException
getMetaData インタフェース内 ConnectionSQLExceptionConnection.getMetaData()public String nativeSQL(String sql)
nativeSQL インタフェース内 ConnectionConnection.nativeSQL(java.lang.String)public void clearWarnings()
throws SQLException
clearWarnings インタフェース内 ConnectionSQLExceptionConnection.clearWarnings()public SQLWarning getWarnings() throws SQLException
getWarnings インタフェース内 ConnectionSQLExceptionConnection.getWarnings()public boolean getAutoCommit()
throws SQLException
getAutoCommit インタフェース内 ConnectionSQLExceptionConnection.getAutoCommit()public void setAutoCommit(boolean ac)
throws SQLException
setAutoCommit インタフェース内 ConnectionSQLExceptionConnection.setAutoCommit(boolean)public void commit()
throws SQLException
commit インタフェース内 ConnectionSQLExceptionConnection.commit()public void rollback()
throws SQLException
rollback インタフェース内 ConnectionSQLExceptionConnection.rollback()public Statement createStatement() throws SQLException
createStatement インタフェース内 ConnectionSQLExceptionConnection.createStatement()public Statement createStatement(int rsType, int rsConcurr) throws SQLException
createStatement インタフェース内 ConnectionSQLExceptionConnection.createStatement(int, int)public Statement createStatement(int rst, int rsc, int rsh) throws SQLException
createStatement インタフェース内 ConnectionSQLExceptionConnection.createStatement(int, int, int)public CallableStatement prepareCall(String sql) throws SQLException
prepareCall インタフェース内 ConnectionSQLExceptionConnection.prepareCall(java.lang.String)public CallableStatement prepareCall(String sql, int rst, int rsc) throws SQLException
prepareCall インタフェース内 ConnectionSQLExceptionConnection.prepareCall(java.lang.String, int, int)public CallableStatement prepareCall(String sql, int rst, int rsc, int rsh) throws SQLException
prepareCall インタフェース内 ConnectionSQLExceptionConnection.prepareCall(java.lang.String, int, int, int)public PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement インタフェース内 ConnectionSQLExceptionConnection.prepareStatement(java.lang.String)public PreparedStatement prepareStatement(String sql, int autoC) throws SQLException
prepareStatement インタフェース内 ConnectionSQLExceptionConnection.prepareStatement(java.lang.String, int)public PreparedStatement prepareStatement(String sql, int[] colInds) throws SQLException
prepareStatement インタフェース内 ConnectionSQLExceptionConnection.prepareStatement(java.lang.String, int[])public PreparedStatement prepareStatement(String sql, String[] colNames) throws SQLException
public PreparedStatement prepareStatement(String sql, int rst, int rsc) throws SQLException
prepareStatement インタフェース内 ConnectionSQLExceptionConnection.prepareStatement(java.lang.String, int, int)public PreparedStatement prepareStatement(String sql, int rst, int rsc, int rsh) throws SQLException
public Savepoint setSavepoint() throws SQLException
setSavepoint インタフェース内 ConnectionSQLExceptionConnection.setSavepoint()public Savepoint setSavepoint(String name) throws SQLException
setSavepoint インタフェース内 ConnectionSQLExceptionConnection.setSavepoint(java.lang.String)public void releaseSavepoint(Savepoint savepoint) throws SQLException
releaseSavepoint インタフェース内 ConnectionSQLExceptionConnection.releaseSavepoint(java.sql.Savepoint)public void rollback(Savepoint savepoint) throws SQLException
rollback インタフェース内 ConnectionSQLExceptionConnection.rollback(java.sql.Savepoint)public Struct createStruct(String t, Object[] attr) throws SQLException
createStruct インタフェース内 ConnectionSQLExceptionCopyright © 2013. All Rights Reserved.