dimanche 26 février 2017

Hibernate One Entity Multiple Tables per Country

I'm developing a web app, that becouse of legal issues, I have to divide the tables per country.

I will have to name the tables like TABLE_A_ES, TABLE_A_AR, TABLE_A_ZA, etc. For now there will be no difference in table columns so I want to reuse the entity.

Depending on the user who logs in he will be able to CRUD on specific tables. Can Hibernate/JPA do this ?

Thanks




Aucun commentaire:

Enregistrer un commentaire