When I set the create-drop set as hbm2ddl, then I also need to add the app to some default data Want to
Is it possible to write a few detail in JPA or Hibernation?
Default data = 10 inserts! With a very easy data!
during From Hibernate 3.6 you can also specify other files with the property Also see: create or
create-drop By default, Hibernate executes SQL statements from the file named
import.sql in the classpath (if present), then you can put your SQL script there.
hibernate.hbm2ddl.import_files .
Comments
Post a Comment