简体   繁体   中英

Is Java EE required for Hibernate

是否需要额外的Java EE库来运行Hibernate独立Java应用程序,或者标准SDK是否足够?

Hibernate works just fine on Java SE. It can be used as a JPA implementation on Java EE, but JPA, as well, can be used just fine on Java SE.

Java EE is not required to run Hibernate. I think a good place to start is with the Hibernate documentation. I think it is very intuitive and easy to follow.
http://docs.jboss.org/hibernate/stable/core/reference/en/html/tutorial-firstapp.html

You can also find the jar files to download here: https://www.hibernate.org/344.html

Any JPA provider, including Hibernate, can be used outside of a Java EE container. There are some instructions for a few providers in ORMs vs SQL: The JPA Story .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM