java - JPA 1.0 or hibernate? -


we planning migrate java ee 5 j2ee 1.4. of our orm needs fulfilled hibernate 2.1.0 s0 far. since moving java ee 5 has support jpa 1.0, wondering if worth move of orm stuff jpa.

are there gotchas should concerned about? there places jap 1.0 wouldnt work?

i don't want use jpa 2.0.

the jpa 1.0 api has pretty glaring holes in (e.g. lack of custom value types, no collections-of-elements). porting application native hibernate api jpa 1.0 api can painful due lack of basic functionality.

however, hibernate's annotations api extension of basic jpa api, use jpa far goes, , top off hibernate extensions. annotations style easiest way use hibernate now, nicest compromise.

if have working hibernate application, though, have wonder if it's worth bother. i'd tempted leave is, should work fine in java ee 5 environment.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -