large « Schema « JPA Q&A





1. Partition a large Hibernate model to manage schema dependencies    stackoverflow.com

We are considering splitting our hibernate tables into packages or domains (invoicing, sales, ..etc), primarily for dependency management issues. It doesn't break neatly of course, so we aren't sure how to handle ...

2. Large Schema / OutOfMemory / Tuning Tips    forum.hibernate.org

We are using Hibernate against a legacy DB2/400 database with 1000 tables (the mapping files and POJOs are generated by reverse engineering). However, creating the SessionFactory takes an excessive amount of time and usually dies with an OutOfMemory error. Now, I'm sure I can get around the mem issues by tuning the -X mem flags, but what are other peoples experiences ...