Re: [hibernate-dev] MetadataSourceProcessor and associations

2013-01-24 Thread Strong Liu
On Jan 24, 2013, at 1:26 PM, Gail Badner wrote: > I am trying to figure out when we have all the necessary information to > resolve everything required for associations. > > IIUC, sources are processed in the following order by default: > > 1) HBM sources extracted from MetadataSources passed

Re: [hibernate-dev] MetadataSourceProcessor and associations

2013-01-24 Thread Hardy Ferentschik
Hi, as Steve is saying, you can basically mix and match hbm and annotation, however there is a caveat. Within one entity hierarchy you have to stick to one mapping approach. You cannot map the base class Animal in hbm and then use annotations for the subclass entity Dog. If the entities are n

[hibernate-dev] Hibernate ORM 4.1.10.Final: making it JPA spec compiant?

2013-01-24 Thread Donatas Čiukšys
Dear developers, Could you please look at: https://hibernate.onjira.com/browse/HHH-6813 This bug is two years old, and causes NPE during query for entity mapped with @Id @OneToOne. This is legal as per JPA specification, yet is not working as of Hibernate ORM 4.0.0 till the most recen