Re: [hibernate-dev] entity modes

2010-09-10 Thread Steve Ebersole
Correct, provided that entity had only one mode on the SessionFactory On Fri, 2010-09-10 at 17:46 +0200, Adam Warski wrote: > On Sep 10, 2010, at 4:16 PM, Steve Ebersole wrote: > > > I'd have to look closer at the envers code to know for sure, but the > > option I can see here is to say that the

Re: [hibernate-dev] entity modes

2010-09-10 Thread Adam Warski
On Sep 10, 2010, at 4:16 PM, Steve Ebersole wrote: > I'd have to look closer at the envers code to know for sure, but the > option I can see here is to say that the entity mode specified for a > session factory is the entity mode we use when building the metamodel > from hbm.xml or annotations.

Re: [hibernate-dev] entity modes

2010-09-10 Thread Steve Ebersole
I'd have to look closer at the envers code to know for sure, but the option I can see here is to say that the entity mode specified for a session factory is the entity mode we use when building the metamodel from hbm.xml or annotations. Envers would then build its metamodel structures as it needs

Re: [hibernate-dev] entity modes

2010-09-10 Thread Adam Warski
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 > s