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 Sep 20, 2011 · 3 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 @DiscriminatorValue.

Does the object mapper perform any locking?


No, you must handle synchronization yourself using java synchronization techniques or distributed tools, like ZooKeeper or Hazelcast.