Futher to my previous posts, here is one of my hibernate hbm.xml files:

  | <?xml version='1.0' encoding='utf-8'?>
  | <!DOCTYPE hibernate-mapping PUBLIC 
  |     "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
  |     "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>
  | 
  | <hibernate-mapping package="test">
  |     <class name="Artist" table="artisttbl">
  |             <cache usage="read-write"/>
  |             <id name="ID" column="artist_id">
  |                     <generator class="assigned"/>
  |             </id>
  |             <version name="Version" column="version" type="integer"/>
  |             <property name="ArtistName" column="artist_name" type="string" 
not-null="true"/>
  |             <property name="ArtistInfo" column="artist_info" type="string" 
not-null="true"/>
  |             <property name="StockID" column="stock_id" type="string"/>
  |             <set name="ArtistImages" inverse="true" lazy="true" 
cascade="all-delete-orphan">
  |                     <cache usage="read-write"/> 
  |                     <key column="artist_id"/>
  |                     <one-to-many class="ArtistImages"/>     
  |         </set>
  |         <one-to-one name="ArtistBiog" class="ArtistBiog"/>
  |     </class>
  | </hibernate-mapping>
  | 

Any ideas anyone? What is it blindingly obvious that I am missing here?

regards

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878457#3878457

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878457


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to