diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.hibernate/src/app.properties')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.tests.hibernate/src/app.properties | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/app.properties b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/app.properties index 5a6c7d2c38..27dd2993c4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/app.properties +++ b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/app.properties @@ -5,6 +5,11 @@ hibernate.connection.pool_size=10 # ----------------------------------------------------------- # DEFAULT SETTINGS FOR IN MEMORY HSQLDB DATABASE. # + +#hibernate.dialect=org.hibernate.dialect.H2Dialect +#hibernate.connection.driver_class=org.h2.Driver +#hibernate.connection.url=jdbc:h2:_database/repo1 + hibernate.dialect=org.hibernate.dialect.HSQLDialect hibernate.connection.driver_class=org.hsqldb.jdbcDriver hibernate.connection.url=jdbc:hsqldb:mem:cdohibernate @@ -15,11 +20,11 @@ hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider #-------------------------------------------------------------- # EXAMPLE SETTING FOR MYSQL DATABASE. UNCOMMENT AND EDIT TO USE. -# +# #hibernate.connection.driver_class=com.mysql.jdbc.Driver #hibernate.connection.url=jdbc:mysql://localhost:3306/cdohibernate #hibernate.connection.username=root #hibernate.connection.password=root #hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect -teneo.mapping.cascade_policy_on_non_containment = PERSIST,MERGE +teneo.mapping.cascade_policy_on_non_containment=PERSIST,MERGE |