Skip to content
Uragami Taichi edited this page Mar 29, 2024 · 1 revision

Doma Properties

Name Description Default Value
doma.batch-size Size in executing PreparedStatement#addBatch(). Regarded as 1 unless this value is greater than 1. 0
doma.data-source-name Datasource name. org.seasar.doma.jdbc.Config
doma.dialect Dialect of database used by Doma.
doma.exception-sql-log-type Type of SQL log in the exception. NONE
doma.exception-translation-enabled Whether convert org.seasar.doma.jdbc.JdbcException into org.springframework.dao.DataAccessException. true
doma.fetch-size Hint to the number of rows that should be fetched. Ignored unless this value is greater than 0. 0
doma.jdbc-logger Type of org.seasar.doma.jdbc.JdbcLogger. JUL
doma.max-rows Limit for the maximum number of rows. Ignored unless this value is greater than 0. 0
doma.naming Type of org.seasar.doma.jdbc.Naming. DEFAULT
doma.query-timeout Number of seconds the driver will wait for a Statement object to execute. Ignored unless this value is greater than 0. 0
doma.sql-file-repository Type of org.seasar.doma.jdbc.SqlFileRepository. GREEDY_CACHE