Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

HOM FAQ

btoddb edited this page Jan 20, 2011 · 2 revisions

####If I annotate a base class with @Entity, will a derived class be persisted?
-
No, you must annotate the derived class with @Entity (and possible @Table) as well. When polymorphism is introduced this might be changed.

####Does the object mapper perform any locking?
-
No, you must handle synchronization yourself using java synchronization techniques or distributed methods, like ZooKeeper.

Clone this wiki locally