Re: [hibernate-dev] MetadataSourceProcessor and associations

2013-01-23 Thread Gail Badner
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 to MetadataImpl constructor; 2) annotations sources extracted

Re: [hibernate-dev] MetadataSourceProcessor and associations

2013-01-23 Thread Gail Badner
It seems that JoinColumnResolutionDelegate impls can have the same problem. - Original Message - > From: "Steve Ebersole" > To: "Gail Badner" > Cc: "Hibernate hibernate-dev" > Sent: Wednesday, January 23, 2013 11:16:23 AM > Subject: Re: [hibernate-dev] MetadataSourceProcessor and associ

[hibernate-dev] MetadataSourceProcessor and associations

2013-01-23 Thread Gail Badner
Is it possible for an entity containing one side of an association be mapped using annotations and the entity containing the opposite side of the association be mapped using an hbm mapping? For example, suppose Order has annotations: @OneToMany( mappedby="order" ) List Order.orderLines OrderLi