Package nablarch.integration.doma
Class DomaTransactionNotSupportedConfig
java.lang.Object
nablarch.integration.doma.DomaTransactionNotSupportedConfig
- All Implemented Interfaces:
org.seasar.doma.jdbc.Config
public final class DomaTransactionNotSupportedConfig
extends Object
implements org.seasar.doma.jdbc.Config
Domaを使用してトランザクションを使用せずデータベースアクセスを行うための設定を保持するクラス。
トランザクションを使用しないため、全てのデータベースアクセス処理が自動コミットされる。
本クラスを適用したDaoクラスで行うデータベースへの変更は、十分注意すること。
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintorg.seasar.doma.jdbc.dialect.Dialectintorg.seasar.doma.jdbc.JdbcLoggerintorg.seasar.doma.jdbc.Namingintシングルトンインスタンスを取得する。Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.seasar.doma.jdbc.Config
getClassHelper, getCommandImplementors, getCommenter, getDataSourceName, getEntityListenerProvider, getExceptionSqlLogType, getMapKeyNaming, getQueryImplementors, getRequiresNewController, getScriptFileLoader, getSqlBuilderSettings, getSqlFileRepository, getTransactionManager, getUnknownColumnHandler
-
Constructor Details
-
DomaTransactionNotSupportedConfig
public DomaTransactionNotSupportedConfig()DBアクセスを行うための設定を持つインスタンスを生成する。
-
-
Method Details
-
getDialect
public org.seasar.doma.jdbc.dialect.Dialect getDialect()- Specified by:
getDialectin interfaceorg.seasar.doma.jdbc.Config
-
getDataSource
- Specified by:
getDataSourcein interfaceorg.seasar.doma.jdbc.Config
-
getJdbcLogger
public org.seasar.doma.jdbc.JdbcLogger getJdbcLogger()- Specified by:
getJdbcLoggerin interfaceorg.seasar.doma.jdbc.Config
-
getNaming
public org.seasar.doma.jdbc.Naming getNaming()- Specified by:
getNamingin interfaceorg.seasar.doma.jdbc.Config
-
getMaxRows
public int getMaxRows()- Specified by:
getMaxRowsin interfaceorg.seasar.doma.jdbc.Config
-
getFetchSize
public int getFetchSize()- Specified by:
getFetchSizein interfaceorg.seasar.doma.jdbc.Config
-
getQueryTimeout
public int getQueryTimeout()- Specified by:
getQueryTimeoutin interfaceorg.seasar.doma.jdbc.Config
-
getBatchSize
public int getBatchSize()- Specified by:
getBatchSizein interfaceorg.seasar.doma.jdbc.Config
-
singleton
シングルトンインスタンスを取得する。- Returns:
- シングルトンインスタンス
-