DataSource settings
Type | Name and description |
---|---|
java.lang.String |
dbCreate The default value for `hibernate.hbm2ddl.auto` |
java.lang.Class |
dialect The dialect to use |
java.lang.String |
driverClassName The driver class name |
boolean |
formatSql Whether to format the SQL |
java.lang.String |
jndiName The JNDI name |
boolean |
lazy Whether the data source is lazy |
boolean |
logSql Whether to log SQL |
java.lang.String |
password The password |
boolean |
pooled Whether the data source is pooled |
java.util.Map |
properties The data source properties |
boolean |
readOnly Whether the connection is readonly |
java.lang.Class<? extends SchemaHandler> |
schemaHandler The schema handler to use |
boolean |
transactionAware Whether the data source is aware of an ongoing Spring transaction |
java.lang.String |
url The data source URL, defaults to an H2 in-memory database |
java.lang.String |
username The username |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.Properties |
toHibernateProperties() Convert to Hibernate properties |
|
java.util.Map<java.lang.String, java.lang.String> |
toProperties() @return Convert to datasource properties |
Methods inherited from class | Name |
---|---|
class ConnectionSourceSettings |
getDefault, setDefault |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The default value for `hibernate.hbm2ddl.auto`
The dialect to use
The driver class name
Whether to format the SQL
The JNDI name
Whether the data source is lazy
Whether to log SQL
The password
Whether the data source is pooled
The data source properties
Whether the connection is readonly
The schema handler to use
Whether the data source is aware of an ongoing Spring transaction
The data source URL, defaults to an H2 in-memory database
The username