[Hibernate] Hibernate 'assigned' key problem

2004-09-03 Thread Michael Mehrle
You guys might remember the 'assigned' PK issue which I resolved by putting the following xdoclet into the javadoc of my ID field:    /** Gets the guid.  *   * @return Returns the guid.  * @hibernate.id column="guid" generator-class="assigned" unsaved-value="null"  */ public String getGuid

[Hibernate] Problems mapping List with Hibernate xdoclet tag

2004-09-10 Thread Michael Mehrle
This is what I'm doing:    /** Returns the keyword list associated with the referenced physical asset.  * @hibernate.list table="ImageMasterKeywords" lazy="false" cascade="save-update"  *  * @return List the keyworld list field.  */ public List getKeywords() {  return keywords; }   And the

Re: [Hibernate] Fetch strategy changes

2004-09-13 Thread Michael Mehrle
I did - and nobody is replying! Can someone just answer my question? - Original Message - From: "Emmanuel Bernard" <[EMAIL PROTECTED]> To: "Gavin King" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, September 12, 2004 11:44 PM Subject: Re: [Hibernate] Fetch strategy changes >

[Hibernate] Resolved: Problems mapping List with Hibernate xdoclet tag

2004-09-14 Thread Michael Mehrle
This actually worked!!! Virender - you are the man! :-)   I was banging my head against the wall with this for days, and was about to give up.   Thanks for helping out.   Michael - Original Message - From: Virender Dogra To: Michael Mehrle Sent: Friday, September 10

[Hibernate] Re: [appfuse-user] Resolved: Problems mapping List with Hibernate xdoclet tag

2004-09-14 Thread Michael Mehrle
are the man! :-)   I was banging my head against the wall with this for days, and was about to give up.   Thanks for helping out.   Michael - Original Message - From: Virender Dogra To: Michael Mehrle Sent: Friday, September 10, 2004 12:47 PM

[Hibernate] How to delete orphan children

2004-09-17 Thread Michael Mehrle
I've got a list of child objects (keywords) that I'd like to store in a separate table. My configuration is as such (it's xdoclet, but I'm sure you can see the gist of it): /** * Returns the keyword list associated with the referenced physical asset. * * @hibernate.set table="ImageMaster_Keywords"