Joined: Mon May 17, 2004 6:34 pm Posts: 1				
			 | 
			
				
				
					| 
					
						 Looking for some help with the exception I'm receiving (net.sf.hibernate.type.SerializationException: could not deserialize) for a joiner table that consists of a single column that serves as the primary key and also foreign-key. The mapper file is attached below. Any suggestions or insight is greatly appreciated. 
 
 Thanks,
 -Russ-
 
 
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 2.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
 
 <hibernate-mapping>
   <class
     name="org.lds.grp.ProtectedResourceTypeImpl"
     table="GRP_PROTECTED_RESOURCE_TYPE"
     proxy="org.lds.grp.ProtectedResourceType"
     dynamic-update="true"
     dynamic-insert="false"
   >
 
   
   <id
     name="controlType"
     column="grp_prt_id"
     type="org.lds.common.ControlTypeImpl"
   >
     <generator class="assigned"/>
   </id>
   
   
   <one-to-one
     name="controlType"
     class="org.lds.common.ControlTypeImpl"
     constrained="true"
     outer-join="auto"
   />
   
 <set name="protectedResources" lazy="true">
   <key column="grp_pr_typeid"/>
   <one-to-many class="org.lds.grp.domain.ProtectedResourceDM"/>
 </set>
 </class>
     
 </hibernate-mapping> 
					
  
						
					 | 
				 
				 
			 |