* First commit for Hibernate 5 Multitenancy tutorial * Changes to fix the code. * Added hibernate begin transaction code. * Changes to solve the multitenancy issue. * Changes to integrate h2 * Changing configs to solve the error * Changes to solve h2 error... * Changes to fix H2 error. * Cleaned POM.xml and changed entity name * Changes table name to supplier * Removed MySql Dep from pom.xml. * Changes as per comment in the PR... * Removed try-catch from test functions. * Removing the hibernate xml config. * Changed the formatting as per the formatter. * Clean up after merge. * # WARNING: head commit changed in the meantime Merge remote-tracking branch 'upstream/master' into hibernate5-multitenancy Conflicts: hibernate5/pom.xml pom.xml
9 lines
264 B
INI
9 lines
264 B
INI
hibernate.connection.driver_class=org.h2.Driver
|
|
hibernate.connection.url=jdbc:h2:mem:mydb1;DB_CLOSE_DELAY=-1
|
|
hibernate.connection.username=sa
|
|
jdbc.password=
|
|
|
|
hibernate.dialect=org.hibernate.dialect.H2Dialect
|
|
hibernate.show_sql=true
|
|
hibernate.multiTenancy=DATABASE
|