File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Final class - and Persistence

 
Binu K Idicula
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
With Toplink, I am able to persist a final class. Is this correct, or is it a deviation?
regards
Binu K Idicula
SCJP5.0, SCJD5.0
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Entity classes must not be final.
 
Antonio Tercero
Ranch Hand
Posts: 110
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want your application to be portable, follow the rules described in the spec.
 
Binu K Idicula
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Thanks for answers. Can anyone suggest me jpa provider which has the 100% spec implementation for trying out tests?
Anyway, I will test with Spec in theory.
regards
Binu K Idicula
 
E Lievaart
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think you will be able to find anything like that.
Even reference implementations usually have a few off-specs
 
Michael Wiezik
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know / use any other JPA implementation than Hibernate or TopLink?
 
Sergio Tridente
Ranch Hand
Posts: 329
Java Linux Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's Apache's OpenJPA. I've never used it, though.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic