Closed muuki88 closed 12 years ago
Some possible solutions on Stackoverflow
The best solution would be to generate the database with all constraints first and JPA just uses this db without creating the database. This isn't a solution for an embedded database shipped with the application.
Task
Remove the
IDBModelService
and transfer the logic to the corresponding entities.For test
Check orphan removal and cascading!
Examples