パッケージ org.nkjmlab.sorm4j
インタフェース OrmConnection
-
- すべてのスーパーインタフェース:
AutoCloseable,CommandExecutor,Orm,SqlExecutor
- 既知のサブインタフェースのリスト:
OrmTransaction
public interface OrmConnection extends Orm, AutoCloseable
Main API for object relation mapping.- 作成者:
- nkjm
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド 修飾子とタイプ メソッド 説明 voidbegin()Begin transaction.voidbegin(int isolationLevel)Begins transaction with the given transaction isolation level.voidclose()Closes theConnectionassociated with this instance.voidcommit()Commits theConnectionassociated with this instance.ConnectiongetJdbcConnection()GetsConnection.voidrollback()Rollback theConnectionassociated with this instance.voidsetAutoCommit(boolean autoCommit)Sets the auto commit behavior for theConnectionassociated with this instance.-
インタフェースから継承されたメソッド org.nkjmlab.sorm4j.command.CommandExecutor
createCommand, createCommand, createCommand, createCommand
-
インタフェースから継承されたメソッド org.nkjmlab.sorm4j.Orm
delete, delete, delete, deleteAll, deleteAllOn, deleteOn, deleteOn, deleteOn, exists, exists, getResultSetToMapTraverser, getResultSetTraverser, getRowMapper, getRowToMapMapper, getTableMetaData, getTableMetaData, getTableName, insert, insert, insert, insertAndGet, insertAndGet, insertAndGet, insertAndGetOn, insertAndGetOn, insertAndGetOn, insertMapOn, insertMapOn, insertMapOn, insertOn, insertOn, insertOn, merge, merge, merge, mergeOn, mergeOn, mergeOn, readAll, readAllLazy, readByPrimaryKey, readFirst, readFirst, readLazy, readLazy, readList, readList, readMapFirst, readMapFirst, readMapLazy, readMapLazy, readMapList, readMapList, readMapOne, readMapOne, readOne, readOne, readTupleList, readTupleList, readTupleList, readTupleList, update, update, update, updateOn, updateOn, updateOn
-
インタフェースから継承されたメソッド org.nkjmlab.sorm4j.basic.SqlExecutor
executeQuery, executeQuery, executeQuery, executeQuery, executeUpdate, executeUpdate
-
-
-
-
メソッドの詳細
-
getJdbcConnection
Connection getJdbcConnection()
GetsConnection.- 戻り値:
-
begin
void begin()
Begin transaction. The isolation level is corresponding toSorm.Builder.setTransactionIsolationLevel(int).
-
begin
void begin(int isolationLevel)
Begins transaction with the given transaction isolation level.- パラメータ:
isolationLevel-
-
close
void close()
Closes theConnectionassociated with this instance.- 定義:
closeインタフェース内AutoCloseable- 関連項目:
Connection.close()
-
commit
void commit()
Commits theConnectionassociated with this instance.- 関連項目:
Connection.commit()
-
rollback
void rollback()
Rollback theConnectionassociated with this instance.- 関連項目:
Connection.rollback()
-
setAutoCommit
void setAutoCommit(boolean autoCommit)
Sets the auto commit behavior for theConnectionassociated with this instance.
-
-