|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.sqlite.jdbc.JdbcConnection
public class JdbcConnection
フィールドの概要 |
---|
インタフェース java.sql.Connection から継承されたフィールド |
---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
コンストラクタの概要 | |
---|---|
JdbcConnection(Database db,
java.lang.String url)
|
メソッドの概要 | |
---|---|
void |
clearAuthorizer()
invoke sqlite3_set_authorizer() function. |
void |
clearBusyHandler()
invoke sqlite3_busy_handler() function. |
void |
clearCommitHook()
invoke sqlite3_commit_hook() function. |
void |
clearProgressHandler()
invoke sqlite3_progress_handler() function. |
void |
clearRollbackHook()
invoke sqlite3_rollback_hook() function. |
void |
clearUpdateHook()
invoke sqlite3_update_hook() function. |
void |
clearWarnings()
SQL Warning is not supported yet. |
void |
close()
|
void |
commit()
|
void |
createCollation(Collator col)
invoke sqlite3_create_collation() function. |
void |
createFunction(Function func)
invoke sqlite3_create_function() function. |
JdbcStatement |
createStatement()
|
JdbcStatement |
createStatement(int resultSetType,
int resultSetConcurrency)
|
JdbcStatement |
createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
|
void |
dropCollation(Collator col)
invoke sqlite3_create_function() function. |
void |
dropFunction(Function func)
invoke sqlite3_create_function() function. |
boolean |
getAutoCommit()
|
int |
getBusyTimeout()
Retrieves the timeout(ms) value. |
java.lang.String |
getCatalog()
Catalog is not supported yet. |
int |
getHoldability()
It always returns CLOSE_CURSORS_AT_COMMIT. |
JdbcDatabaseMetaData |
getMetaData()
|
int |
getTransactionIsolation()
It always returns TRANSACTION_SERIALIZABLE. |
TransactionType |
getTransactionType()
|
java.util.Map<java.lang.String,java.lang.Class<?>> |
getTypeMap()
Not supporetd yet. |
java.sql.SQLWarning |
getWarnings()
SQL Warning is not supported yet. |
boolean |
isClosed()
|
boolean |
isReadOnly()
|
java.lang.String |
nativeSQL(java.lang.String sql)
Not supporetd yet. |
java.sql.CallableStatement |
prepareCall(java.lang.String sql)
Not supporetd yet. |
java.sql.CallableStatement |
prepareCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
Not supporetd yet. |
java.sql.CallableStatement |
prepareCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Not supporetd yet. |
JdbcPreparedStatement |
prepareStatement(java.lang.String sql)
|
JdbcPreparedStatement |
prepareStatement(java.lang.String sql,
int autoGeneratedKeys)
|
JdbcPreparedStatement |
prepareStatement(java.lang.String sql,
int[] columnIndexes)
Not supporetd yet. |
JdbcPreparedStatement |
prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
|
JdbcPreparedStatement |
prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
|
JdbcPreparedStatement |
prepareStatement(java.lang.String sql,
java.lang.String[] columnNames)
Not supporetd yet. |
void |
releaseSavepoint(java.sql.Savepoint savepoint)
Not supporetd yet. |
void |
rollback()
|
void |
rollback(java.sql.Savepoint savepoint)
Not supporetd yet. |
void |
setAuthorizer(Authorizer auth)
invoke sqlite3_set_authorizer() function. |
void |
setAutoCommit(boolean autoCommit)
|
void |
setBusyHandler(BusyHandler busy)
invoke sqlite3_busy_handler() function. |
void |
setBusyTimeout(int ms)
invoke sqlite3_busy_timeout() function. |
void |
setCatalog(java.lang.String catalog)
Catalog is not supported yet. |
void |
setCommitHook(CommitHook hook)
invoke sqlite3_commit_hook() function. |
void |
setHoldability(int holdability)
Supported result set holdability is ResultSet.CLOSE_CURSORS_AT_COMMIT only. |
void |
setProgressHandler(ProgressHandler prog)
invoke sqlite3_progress_handler() function. |
void |
setReadOnly(boolean readOnly)
|
void |
setRollbackHook(RollbackHook hook)
invoke sqlite3_rollback_hook() function. |
java.sql.Savepoint |
setSavepoint()
Not supporetd yet. |
java.sql.Savepoint |
setSavepoint(java.lang.String name)
Not supporetd yet. |
void |
setTransactionIsolation(int level)
|
void |
setTransactionType(TransactionType type)
|
void |
setTypeMap(java.util.Map<java.lang.String,java.lang.Class<?>> map)
Not supporetd yet. |
void |
setUpdateHook(UpdateHook hook)
invoke sqlite3_update_hook() function. |
protected void |
validateConnectionOpen()
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public JdbcConnection(Database db, java.lang.String url) throws java.sql.SQLException
java.sql.SQLException
メソッドの詳細 |
---|
public JdbcStatement createStatement() throws java.sql.SQLException
java.sql.Connection
内の createStatement
java.sql.SQLException
public JdbcPreparedStatement prepareStatement(java.lang.String sql) throws java.sql.SQLException
java.sql.Connection
内の prepareStatement
java.sql.SQLException
public java.sql.CallableStatement prepareCall(java.lang.String sql) throws java.sql.SQLException
java.sql.Connection
内の prepareCall
java.sql.SQLException
public java.lang.String nativeSQL(java.lang.String sql) throws java.sql.SQLException
java.sql.Connection
内の nativeSQL
java.sql.SQLException
public void setAutoCommit(boolean autoCommit) throws java.sql.SQLException
java.sql.Connection
内の setAutoCommit
java.sql.SQLException
public boolean getAutoCommit() throws java.sql.SQLException
java.sql.Connection
内の getAutoCommit
java.sql.SQLException
public void commit() throws java.sql.SQLException
java.sql.Connection
内の commit
java.sql.SQLException
public void rollback() throws java.sql.SQLException
java.sql.Connection
内の rollback
java.sql.SQLException
public void close() throws java.sql.SQLException
java.sql.Connection
内の close
java.sql.SQLException
public boolean isClosed() throws java.sql.SQLException
java.sql.Connection
内の isClosed
java.sql.SQLException
public JdbcDatabaseMetaData getMetaData() throws java.sql.SQLException
java.sql.Connection
内の getMetaData
java.sql.SQLException
public void setReadOnly(boolean readOnly) throws java.sql.SQLException
java.sql.Connection
内の setReadOnly
java.sql.SQLException
public boolean isReadOnly() throws java.sql.SQLException
java.sql.Connection
内の isReadOnly
java.sql.SQLException
public void setCatalog(java.lang.String catalog) throws java.sql.SQLException
java.sql.Connection
内の setCatalog
catalog
- ignored
java.sql.SQLException
public java.lang.String getCatalog() throws java.sql.SQLException
java.sql.Connection
内の getCatalog
java.sql.SQLException
public void setTransactionIsolation(int level) throws java.sql.SQLException
java.sql.Connection
内の setTransactionIsolation
java.sql.SQLException
public int getTransactionIsolation() throws java.sql.SQLException
java.sql.Connection
内の getTransactionIsolation
java.sql.SQLException
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
java.sql.Connection
内の getWarnings
java.sql.SQLException
public void clearWarnings() throws java.sql.SQLException
java.sql.Connection
内の clearWarnings
java.sql.SQLException
public JdbcStatement createStatement(int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
java.sql.Connection
内の createStatement
java.sql.SQLException
public JdbcPreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
java.sql.Connection
内の prepareStatement
java.sql.SQLException
public java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
java.sql.Connection
内の prepareCall
java.sql.SQLException
public java.util.Map<java.lang.String,java.lang.Class<?>> getTypeMap() throws java.sql.SQLException
java.sql.Connection
内の getTypeMap
java.sql.SQLException
public void setTypeMap(java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
java.sql.Connection
内の setTypeMap
java.sql.SQLException
public void setHoldability(int holdability) throws java.sql.SQLException
java.sql.Connection
内の setHoldability
holdability
-
java.sql.SQLException
public int getHoldability() throws java.sql.SQLException
java.sql.Connection
内の getHoldability
java.sql.SQLException
public java.sql.Savepoint setSavepoint() throws java.sql.SQLException
java.sql.Connection
内の setSavepoint
java.sql.SQLException
public java.sql.Savepoint setSavepoint(java.lang.String name) throws java.sql.SQLException
java.sql.Connection
内の setSavepoint
java.sql.SQLException
public void rollback(java.sql.Savepoint savepoint) throws java.sql.SQLException
java.sql.Connection
内の rollback
java.sql.SQLException
public void releaseSavepoint(java.sql.Savepoint savepoint) throws java.sql.SQLException
java.sql.Connection
内の releaseSavepoint
java.sql.SQLException
public JdbcStatement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
java.sql.Connection
内の createStatement
java.sql.SQLException
public JdbcPreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
java.sql.Connection
内の prepareStatement
java.sql.SQLException
public java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
java.sql.Connection
内の prepareCall
java.sql.SQLException
public JdbcPreparedStatement prepareStatement(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException
java.sql.Connection
内の prepareStatement
sql
- autoGeneratedKeys
- ignored
java.sql.SQLException
public JdbcPreparedStatement prepareStatement(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException
java.sql.Connection
内の prepareStatement
java.sql.SQLException
public JdbcPreparedStatement prepareStatement(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException
java.sql.Connection
内の prepareStatement
java.sql.SQLException
protected void validateConnectionOpen() throws java.sql.SQLException
java.sql.SQLException
public void setTransactionType(TransactionType type) throws java.sql.SQLException
type
- 'DEFERRED', 'IMMEDIATE', 'EXCLUSIVE'
java.sql.SQLException
public TransactionType getTransactionType() throws java.sql.SQLException
java.sql.SQLException
public void createFunction(Function func) throws java.sql.SQLException
func
- User-Defined function
java.sql.SQLException
Database.createFunction(Function)
public void dropFunction(Function func) throws java.sql.SQLException
func
- User-Defined function
java.sql.SQLException
Database.dropFunction(Function)
public void createCollation(Collator col) throws java.sql.SQLException
col
- User-Defined Collating Sequences
java.sql.SQLException
Database.createCollation(Collator)
public void dropCollation(Collator col) throws java.sql.SQLException
col
- User-Defined Collating Sequences
java.sql.SQLException
Database.dropCollation(Collator)
public void setAuthorizer(Authorizer auth) throws java.sql.SQLException
auth
-
java.sql.SQLException
Database.setAuthorizer(Authorizer)
public void clearAuthorizer() throws java.sql.SQLException
java.sql.SQLException
Database.clearAuthorizer()
public void setBusyTimeout(int ms) throws java.sql.SQLException
ms
- milliseconds
java.sql.SQLException
Database.setBusyTimeout(int)
public int getBusyTimeout() throws java.sql.SQLException
java.sql.SQLException
Database.getBusyTimeout()
public void setBusyHandler(BusyHandler busy) throws java.sql.SQLException
busy
- busy handler
java.sql.SQLException
Database.setBusyHandler(BusyHandler)
public void clearBusyHandler() throws java.sql.SQLException
java.sql.SQLException
Database.clearBusyHandler()
public void setProgressHandler(ProgressHandler prog) throws java.sql.SQLException
prog
- progress handler
java.sql.SQLException
Database.setProgressHandler(ProgressHandler)
public void clearProgressHandler() throws java.sql.SQLException
java.sql.SQLException
Database.clearProgressHandler()
public void setCommitHook(CommitHook hook) throws java.sql.SQLException
hook
- commit hoot
java.sql.SQLException
Database.setCommitHook(CommitHook)
public void clearCommitHook() throws java.sql.SQLException
java.sql.SQLException
Database.clearCommitHook()
public void setRollbackHook(RollbackHook hook) throws java.sql.SQLException
hook
- rollback hoot
java.sql.SQLException
Database.setRollbackHook(RollbackHook)
public void clearRollbackHook() throws java.sql.SQLException
java.sql.SQLException
Database.clearRollbackHook()
public void setUpdateHook(UpdateHook hook) throws java.sql.SQLException
hook
- update hoot
java.sql.SQLException
Database.setUpdateHook(UpdateHook)
public void clearUpdateHook() throws java.sql.SQLException
java.sql.SQLException
Database.clearUpdateHook()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |