Seam « HBM « JPA Q&A





1. import.sql and hibernate.hbm2ddl.auto doesn't work    seamframework.org

http://in.relation.to/9081.lace import.sql: easily import data in your unit tests Hibernate has a neat little feature that is heavily under-documented and unknown. You can execute an SQL script during the SessionFactory creation right after the database schema generation to import data in a fresh database. You just need to add a file named import.sql in your classpath root and set either create ...

2. Mix JPA Annotation with Hibernate hbm.xml files in SEAM Pro...    seamframework.org

I have already a project based on SEAM and JPA Annotation. Now I want to extends the project with Hibernate mapping XML, because I want to use dynamic-mapping of Hibernate. The admin of the application can add new Attributes for some entities, that has to be by the first time that we install the application by the customer... My Idea was ...