Revision f0fba95f
Added by Andreas Müller about 7 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/remoting/cache/CdmModelCacherConnectionProvider.java | ||
---|---|---|
9 | 9 |
/** |
10 | 10 |
* This is a very preliminary class to get the model cache running. Need to better understand how |
11 | 11 |
* the datasource works with hibernate service registry before implementing the correct way. |
12 |
|
|
12 | 13 |
* Or use a running source. |
14 |
* |
|
15 |
* When changing this class please also adapt https://dev.e-taxonomy.eu/redmine/projects/edit/wiki/TaxonomicEditorDevelopersGuide#Model-Change-Actions |
|
16 |
* |
|
13 | 17 |
* @author a.mueller |
14 | 18 |
* |
15 | 19 |
*/ |
eu.etaxonomy.taxeditor.cdmlib/src/main/resources/eu/etaxonomy/cdm/mappings/hibernate.cfg.xml | ||
---|---|---|
9 | 9 |
<property name="connection.release_mode">after_transaction</property> |
10 | 10 |
|
11 | 11 |
<property name="hibernate.implicit_naming_strategy">org.hibernate.boot.model.naming.ImplicitNamingStrategyComponentPathImpl</property> |
12 |
<!-- NOTE: if integrated in spring this is handled there (see persistence.xml) --> |
|
12 | 13 |
|
13 | 14 |
<!-- Connection Pooling --> |
14 | 15 |
<!-- <property name="hibernate.connection.provider_class">org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider</property> --> |
Also available in: Unified diff
(java)doc