クラス OrmConnectionImpl
- java.lang.Object
-
- org.nkjmlab.sorm4j.mapping.AbstractOrmMapper
-
- org.nkjmlab.sorm4j.mapping.OrmMapperImpl
-
- org.nkjmlab.sorm4j.mapping.OrmConnectionImpl
-
- すべての実装されたインタフェース:
Closeable,AutoCloseable,OrmConnection,OrmMapper,OrmMapReader,OrmReader,OrmUpdater,SqlExecutor,TransactionFunction
- 直系の既知のサブクラス:
OrmTransaction
public class OrmConnectionImpl extends OrmMapperImpl implements OrmConnection
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 OrmConnectionImpl(Connection connection, OrmConfigStore options)
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 voidbegin()voidbegin(int isolationLevel)voidclose()Closes theConnectionassociated with this instance.voidcommit()Commits theConnectionassociated with this instance.voidrollback()Rollback theConnectionassociated with this instance.voidsetAutoCommit(boolean autoCommit)Sets the auto commit behavior for theConnectionassociated with this instance.<T> TypedOrmConnection<T>toTyped(Class<T> objectClass)-
クラスから継承されたメソッド org.nkjmlab.sorm4j.mapping.OrmMapperImpl
delete, delete, delete, deleteOn, deleteOn, deleteOn, execute, executeQuery, executeUpdate, insert, insert, insert, insertAndGet, insertAndGet, insertAndGet, insertAndGetOn, insertAndGetOn, insertAndGetOn, insertOn, insertOn, insertOn, merge, merge, merge, mergeOn, mergeOn, mergeOn, readAll, readAllLazy, readByPrimaryKey, readFirst, readFirst, readLazy, readLazy, readList, readList, readMapFirst, readMapLazy, readMapList, readMapOne, readOne, readOne, update, update, update, updateOn, updateOn, updateOn
-
クラスから継承されたメソッド org.nkjmlab.sorm4j.mapping.AbstractOrmMapper
execSqlIfParameterExists, execSqlIfParameterExists, execute, executeQuery, executeUpdate, getCastedTableMapping, getCastedTableMapping, getColumnsMapping, getConfigStore, getJdbcConnection, getTableMapping, loadFirst, loadMapList, loadOne, loadOneMap, loadOneObject, loadPojoList, readAllAux, readAllLazyAux, readByPrimaryKeyAux, readFirstAux, readLazyAux, readListAux, readMap, readMapFirst, readMapLazy, readMapList, readMapOne, readOneAux
-
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
インタフェースから継承されたメソッド org.nkjmlab.sorm4j.OrmMapReader
readMapFirst, readMapFirst, readMapLazy, readMapLazy, readMapList, readMapList, readMapOne, readMapOne
-
インタフェースから継承されたメソッド org.nkjmlab.sorm4j.OrmReader
readAll, readAllLazy, readByPrimaryKey, readFirst, readFirst, readLazy, readLazy, readList, readList, readOne, readOne
-
インタフェースから継承されたメソッド org.nkjmlab.sorm4j.OrmUpdater
delete, delete, delete, deleteOn, deleteOn, deleteOn, insert, insert, insert, insertAndGet, insertAndGet, insertAndGet, insertAndGetOn, insertAndGetOn, insertAndGetOn, insertOn, insertOn, insertOn, merge, merge, merge, mergeOn, mergeOn, mergeOn, update, update, update, updateOn, updateOn, updateOn
-
インタフェースから継承されたメソッド org.nkjmlab.sorm4j.SqlExecutor
execute, execute, executeQuery, executeQuery, executeUpdate, executeUpdate, getJdbcConnection
-
-
-
-
コンストラクタの詳細
-
OrmConnectionImpl
public OrmConnectionImpl(Connection connection, OrmConfigStore options)
-
-
メソッドの詳細
-
close
public void close()
インタフェースからコピーされた説明:TransactionFunctionCloses theConnectionassociated with this instance.- 定義:
closeインタフェース内AutoCloseable- 定義:
closeインタフェース内Closeable- 定義:
closeインタフェース内TransactionFunction- 関連項目:
Connection.close()
-
commit
public void commit()
Commits theConnectionassociated with this instance.- 定義:
commitインタフェース内TransactionFunction- 導入されたバージョン:
- 1.0
- 関連項目:
Connection.commit()
-
rollback
public void rollback()
Rollback theConnectionassociated with this instance.- 定義:
rollbackインタフェース内TransactionFunction- 導入されたバージョン:
- 1.0
- 関連項目:
Connection.rollback()
-
setAutoCommit
public void setAutoCommit(boolean autoCommit)
Sets the auto commit behavior for theConnectionassociated with this instance.- 定義:
setAutoCommitインタフェース内TransactionFunction- 導入されたバージョン:
- 1.0
- 関連項目:
Connection.setAutoCommit(boolean)
-
begin
public void begin(int isolationLevel)
- 定義:
beginインタフェース内TransactionFunction
-
begin
public void begin()
- 定義:
beginインタフェース内TransactionFunction
-
toTyped
public <T> TypedOrmConnection<T> toTyped(Class<T> objectClass)
- 定義:
toTypedインタフェース内OrmConnection- オーバーライド:
toTypedクラス内OrmMapperImpl
-
-