public class DomaConfig extends Object implements org.seasar.doma.jdbc.Config
Config implementation used in doma-spring-boot.| Constructor and Description |
|---|
DomaConfig(DomaConfigBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchSize() |
org.seasar.doma.jdbc.ClassHelper |
getClassHelper() |
org.seasar.doma.jdbc.CommandImplementors |
getCommandImplementors() |
org.seasar.doma.jdbc.Commenter |
getCommenter() |
DataSource |
getDataSource() |
String |
getDataSourceName() |
org.seasar.doma.jdbc.dialect.Dialect |
getDialect() |
org.seasar.doma.jdbc.EntityListenerProvider |
getEntityListenerProvider() |
org.seasar.doma.jdbc.SqlLogType |
getExceptionSqlLogType() |
int |
getFetchSize() |
org.seasar.doma.jdbc.JdbcLogger |
getJdbcLogger() |
org.seasar.doma.jdbc.MapKeyNaming |
getMapKeyNaming() |
int |
getMaxRows() |
org.seasar.doma.jdbc.Naming |
getNaming() |
org.seasar.doma.jdbc.QueryImplementors |
getQueryImplementors() |
int |
getQueryTimeout() |
org.seasar.doma.jdbc.RequiresNewController |
getRequiresNewController() |
org.seasar.doma.jdbc.SqlFileRepository |
getSqlFileRepository() |
org.seasar.doma.jdbc.UnknownColumnHandler |
getUnknownColumnHandler() |
void |
setBatchSize(int batchSize) |
void |
setDataSourceName(String dataSourceName) |
void |
setExceptionSqlLogType(org.seasar.doma.jdbc.SqlLogType exceptionSqlLogType) |
void |
setFetchSize(int fetchSize) |
void |
setMaxRows(int maxRows) |
void |
setQueryTimeout(int queryTimeout) |
public DomaConfig(DomaConfigBuilder builder)
public DataSource getDataSource()
getDataSource in interface org.seasar.doma.jdbc.Configpublic org.seasar.doma.jdbc.dialect.Dialect getDialect()
getDialect in interface org.seasar.doma.jdbc.Configpublic String getDataSourceName()
getDataSourceName in interface org.seasar.doma.jdbc.Configpublic void setDataSourceName(String dataSourceName)
public org.seasar.doma.jdbc.SqlFileRepository getSqlFileRepository()
getSqlFileRepository in interface org.seasar.doma.jdbc.Configpublic org.seasar.doma.jdbc.JdbcLogger getJdbcLogger()
getJdbcLogger in interface org.seasar.doma.jdbc.Configpublic org.seasar.doma.jdbc.RequiresNewController getRequiresNewController()
getRequiresNewController in interface org.seasar.doma.jdbc.Configpublic org.seasar.doma.jdbc.ClassHelper getClassHelper()
getClassHelper in interface org.seasar.doma.jdbc.Configpublic org.seasar.doma.jdbc.CommandImplementors getCommandImplementors()
getCommandImplementors in interface org.seasar.doma.jdbc.Configpublic org.seasar.doma.jdbc.QueryImplementors getQueryImplementors()
getQueryImplementors in interface org.seasar.doma.jdbc.Configpublic void setExceptionSqlLogType(org.seasar.doma.jdbc.SqlLogType exceptionSqlLogType)
public org.seasar.doma.jdbc.SqlLogType getExceptionSqlLogType()
getExceptionSqlLogType in interface org.seasar.doma.jdbc.Configpublic org.seasar.doma.jdbc.UnknownColumnHandler getUnknownColumnHandler()
getUnknownColumnHandler in interface org.seasar.doma.jdbc.Configpublic org.seasar.doma.jdbc.Naming getNaming()
getNaming in interface org.seasar.doma.jdbc.Configpublic org.seasar.doma.jdbc.MapKeyNaming getMapKeyNaming()
getMapKeyNaming in interface org.seasar.doma.jdbc.Configpublic org.seasar.doma.jdbc.Commenter getCommenter()
getCommenter in interface org.seasar.doma.jdbc.Configpublic int getMaxRows()
getMaxRows in interface org.seasar.doma.jdbc.Configpublic void setMaxRows(int maxRows)
public int getFetchSize()
getFetchSize in interface org.seasar.doma.jdbc.Configpublic void setFetchSize(int fetchSize)
public int getQueryTimeout()
getQueryTimeout in interface org.seasar.doma.jdbc.Configpublic void setQueryTimeout(int queryTimeout)
public int getBatchSize()
getBatchSize in interface org.seasar.doma.jdbc.Configpublic void setBatchSize(int batchSize)
public org.seasar.doma.jdbc.EntityListenerProvider getEntityListenerProvider()
getEntityListenerProvider in interface org.seasar.doma.jdbc.ConfigCopyright © 2016. All rights reserved.