openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Droscher <simon.drosc...@elasticpath.com>
Subject Re: OpenJPA 2.0 vs 1.2
Date Mon, 22 Mar 2010 22:16:08 GMT

I had one small issue when upgrading that required a code change.

We are using property access, and I found OpenJPA 2.0.0-beta2 threw an error
when it encountered abstract @MappedSuperclass classes which didn't contain
any annotated properties. This worked fine under OpenJPA 1.2.x but 2.0.0
complains it can't determine the access type. I had to add
@Access(AccessType.PROPERTY) annotation to these classes.


I also found problems in a couple of cases where we were using the
Non-Standard Join Syntax
(http://openjpa.apache.org/builds/2.0.0-beta2/apache-openjpa-2.0.0-beta2/docs/manual/ref_guide_mapping_notes_nonstdjoins.html)

-- 
View this message in context: http://n2.nabble.com/OpenJPA-2-0-vs-1-2-tp4780098p4780847.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message