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, wait
abort, createArrayOf, createBlob, createClob, createNClob, createSQLXML, getClientInfo, getClientInfo, getNetworkTimeout, getSchema, isValid, setClientInfo, setClientInfo, setNetworkTimeout, setSchema
isWrapperFor, unwrap
public 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.SQLException
public SQLiteConnection(String url, String fileName, Properties prop) throws SQLException
url
- The location of the database file.fileName
- The database.prop
- The configurations to apply.SQLException
public int getBusyTimeout()
public void setBusyTimeout(int milliseconds) throws SQLException
milliseconds
- The timeout value in milliseconds.SQLException
public void finalize() throws SQLException
finalize
クラス内 Object
SQLException
Object.finalize()
public void close() throws SQLException
close
インタフェース内 AutoCloseable
close
インタフェース内 Connection
SQLException
Connection.close()
public boolean isClosed() throws SQLException
isClosed
インタフェース内 Connection
SQLException
Connection.isClosed()
public String getCatalog() throws SQLException
getCatalog
インタフェース内 Connection
SQLException
Connection.getCatalog()
public void setCatalog(String catalog) throws SQLException
setCatalog
インタフェース内 Connection
SQLException
Connection.setCatalog(java.lang.String)
public int getHoldability() throws SQLException
getHoldability
インタフェース内 Connection
SQLException
Connection.getHoldability()
public void setHoldability(int h) throws SQLException
setHoldability
インタフェース内 Connection
SQLException
Connection.setHoldability(int)
public int getTransactionIsolation()
getTransactionIsolation
インタフェース内 Connection
Connection.getTransactionIsolation()
public void setTransactionIsolation(int level) throws SQLException
setTransactionIsolation
インタフェース内 Connection
SQLException
Connection.setTransactionIsolation(int)
protected void setTransactionMode(SQLiteConfig.TransactionMode mode)
mode
- One of SQLiteConfig.TransactionMode
public Map<String,Class<?>> getTypeMap() throws SQLException
getTypeMap
インタフェース内 Connection
SQLException
Connection.getTypeMap()
public void setTypeMap(Map map) throws SQLException
setTypeMap
インタフェース内 Connection
SQLException
Connection.setTypeMap(java.util.Map)
public boolean isReadOnly() throws SQLException
isReadOnly
インタフェース内 Connection
SQLException
Connection.isReadOnly()
public void setReadOnly(boolean ro) throws SQLException
setReadOnly
インタフェース内 Connection
SQLException
Connection.setReadOnly(boolean)
public DatabaseMetaData getMetaData() throws SQLException
getMetaData
インタフェース内 Connection
SQLException
Connection.getMetaData()
public String nativeSQL(String sql)
nativeSQL
インタフェース内 Connection
Connection.nativeSQL(java.lang.String)
public void clearWarnings() throws SQLException
clearWarnings
インタフェース内 Connection
SQLException
Connection.clearWarnings()
public SQLWarning getWarnings() throws SQLException
getWarnings
インタフェース内 Connection
SQLException
Connection.getWarnings()
public boolean getAutoCommit() throws SQLException
getAutoCommit
インタフェース内 Connection
SQLException
Connection.getAutoCommit()
public void setAutoCommit(boolean ac) throws SQLException
setAutoCommit
インタフェース内 Connection
SQLException
Connection.setAutoCommit(boolean)
public void commit() throws SQLException
commit
インタフェース内 Connection
SQLException
Connection.commit()
public void rollback() throws SQLException
rollback
インタフェース内 Connection
SQLException
Connection.rollback()
public Statement createStatement() throws SQLException
createStatement
インタフェース内 Connection
SQLException
Connection.createStatement()
public Statement createStatement(int rsType, int rsConcurr) throws SQLException
createStatement
インタフェース内 Connection
SQLException
Connection.createStatement(int, int)
public Statement createStatement(int rst, int rsc, int rsh) throws SQLException
createStatement
インタフェース内 Connection
SQLException
Connection.createStatement(int, int, int)
public CallableStatement prepareCall(String sql) throws SQLException
prepareCall
インタフェース内 Connection
SQLException
Connection.prepareCall(java.lang.String)
public CallableStatement prepareCall(String sql, int rst, int rsc) throws SQLException
prepareCall
インタフェース内 Connection
SQLException
Connection.prepareCall(java.lang.String, int, int)
public CallableStatement prepareCall(String sql, int rst, int rsc, int rsh) throws SQLException
prepareCall
インタフェース内 Connection
SQLException
Connection.prepareCall(java.lang.String, int, int, int)
public PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement
インタフェース内 Connection
SQLException
Connection.prepareStatement(java.lang.String)
public PreparedStatement prepareStatement(String sql, int autoC) throws SQLException
prepareStatement
インタフェース内 Connection
SQLException
Connection.prepareStatement(java.lang.String, int)
public PreparedStatement prepareStatement(String sql, int[] colInds) throws SQLException
prepareStatement
インタフェース内 Connection
SQLException
Connection.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
インタフェース内 Connection
SQLException
Connection.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
インタフェース内 Connection
SQLException
Connection.setSavepoint()
public Savepoint setSavepoint(String name) throws SQLException
setSavepoint
インタフェース内 Connection
SQLException
Connection.setSavepoint(java.lang.String)
public void releaseSavepoint(Savepoint savepoint) throws SQLException
releaseSavepoint
インタフェース内 Connection
SQLException
Connection.releaseSavepoint(java.sql.Savepoint)
public void rollback(Savepoint savepoint) throws SQLException
rollback
インタフェース内 Connection
SQLException
Connection.rollback(java.sql.Savepoint)
public Struct createStruct(String t, Object[] attr) throws SQLException
createStruct
インタフェース内 Connection
SQLException
Copyright © 2013. All Rights Reserved.