[hibernate-dev] the usage scope of Integrator

2013-07-17 Thread Strong Liu
see org.hibernate.test.annotations.embeddables.EmbeddableIntegratorTest this test is using Integrator to registerTypeOverride, in the middle of SF initializing, after Configuration / Metadata built. so, firstly I want to confirm if this is an expected use case of Integrator, since at this time,

Re: [hibernate-dev] what should happen when there are two entities exactly same except the class name?

2013-07-17 Thread Steve Ebersole
I have to agree, I don't understand how these can be mapped to the same table this way. Looking at them, it is not evident what the intent here was. Ultimately, when reading a given row from the db we have no clue which entity to use. On 07/16/2013 10:50 AM, Strong Liu wrote: > talking about