Hibernate 5 Multitenancy tutorial (#1150)

* 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...
This commit is contained in:
Parth Joshi
2017-04-20 18:25:34 +05:30
committed by KevinGilmore
parent 4b19cb6bcc
commit 76673a33f1
10 changed files with 416 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
package com.baeldung.hibernate;
public class UnsupportedTenancyException extends Exception {
public UnsupportedTenancyException (String message) {
super(message);
}
}