Re: [Hibernate] Getting to an rc

2004-08-31 Thread Gavin King
Hah. I have been very cleverly avoiding that one. Steve Ebersole wrote: Plus, what about "strategy for calling back into Session/EntityManager during callbacks"? Don't think this is even a JIRA issue yet, but seems important. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

[Hibernate] O/R mappings

2004-08-31 Thread Chung, Gary
Title: O/R mappings Hi, I would like to get the O/R mappings for a class and was trying to do Configuration.getClassMappings() and then for each class I was trying to iterate the properties using RootClass.getPropertyIterator.  However, the returned mappings don't include the key properties,

Re: [Hibernate] O/R mappings

2004-08-31 Thread Gavin King
getIdentifierProperty() Chung, Gary wrote: Hi, I would like to get the O/R mappings for a class and was trying to do Configuration.getClassMappings() and then for each class I was trying to iterate the properties using RootClass.getPropertyIterator. However, the returned mappings don't include

RE: [Hibernate] O/R mappings

2004-08-31 Thread Chung, Gary
Thanks, that's works but doesn't work for composite id, what is the proper way to get the properties of the composite keys? Thanks -Original Message- From: Gavin King [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 7:05 PM To: Chung, Gary Cc: '[EMAIL PROTECTED]' Subject: Re: [Hi

Re: [Hibernate] O/R mappings

2004-08-31 Thread Gavin King
For an embedded composite key, they are included in the getPropertyIterator() Chung, Gary wrote: Thanks, that's works but doesn't work for composite id, what is the proper way to get the properties of the composite keys? Thanks -Original Message- From: Gavin King [mailto:[EMAIL PROTECTED]