JPA 2.0 Implementations comparison : Hibernate 3.5 vs EclipseLink 2 vs OpenJPA 2

后端 未结 2 546
迷失自我
迷失自我 2021-02-15 16:56

What\'s your choice? Do You have any suggestions and experience?

I\'m developing an application with Hibernate 3.5 and Spring 3.0

Pros:

  • Good docum
相关标签:
2条回答
  • 2021-02-15 17:09

    EclipseLink runs perfectly fine without the Weaver and equally well in Jetty, Tomcat or an OSGi platform. The standard download is a simple eclipselink.jar. Did you perhaps download the OSGi bundles by mistake?

    The Weaver is not required but it will add some performance benefits and if you do no want to configure it to run in Spring you could use the static weaver at compile time ( http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_%28ELUG%29#To_Configure_Static_Weaving_for_JPA_Entities ).

    0 讨论(0)
  • 2021-02-15 17:14

    I'd say it depends on your application. If you age going to use a lot of Oracle-related features (like, you need hints in your SQL or hierarchical queries or so on), EclipseLink is more suitable for you. In other case pick up Hibernate. More details you can find at http://simpletoad.blogspot.com/2012/11/what-u-must-know-about-eclipselink-orm.html BTW, don't care about performance benchmarking there ORM - if performance is critial for - don't use ORM at all

    0 讨论(0)
提交回复
热议问题