knowing / Medmon

Medical Monitoring
5 stars 0 forks source link

Remove IDBModelService -> Add logic in Entities #123

Closed muuki88 closed 12 years ago

muuki88 commented 12 years ago

Task

Remove the IDBModelService and transfer the logic to the corresponding entities.

For test

Check orphan removal and cascading!

Examples

muuki88 commented 12 years ago

Some possible solutions on Stackoverflow

Ideas

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.