Generating patterns from entities using JPA2 hibernate eclipse 4.2 MySQL 5.5
•
Java
I'm new to hibernate / JPA, and I insist it's the last step
Solution
If you are using hibernate, you can:
>Set "hibernate. Hbm2ddl. Auto" in the project to one of the following values: "update | create | create drop" (read more: http://docs.jboss.org/hibernate/orm/3.3/reference/en/html/session-configuration.html ). when the application runs, the mode is created / updated. > You can try the hibernate 3 Maven plug-in to check the target of hbm2ddl( http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/ )
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码