[hibernate-dev] entity modes

Adam Warski adam at warski.org
Fri Sep 10 03:10:12 EDT 2010


Hello,

> Of course all this situations only occur where apps are using multiple
> entity modes simultaneously, which we are not even sure is widely used;
> I, at least, am not really sure exactly how entity modes are commonly
> used.  I know people use the dynamic map mode for integration with
> scripting languages and such, but beyond that I am not sure TBH.

Envers is also using the Map mode to map audit entities. Maybe an entity type could be bound to a single entity mode? At least in the scope of a session factory?

-- 
Adam Warski
http://www.warski.org
http://www.softwaremill.eu








More information about the hibernate-dev mailing list