anonymous wrote : I originally started with Set but then was getting 
ClassCastException when trying to retrieve VirtualRight object from the Set 
returned by the getVirtualRights() method fo the Application object.
  | 

Ok, let's start from here.  What is your setup?  Where is the 
ClassCassException happening?  THis is usually because you have same copies of 
entity classes in your WAR and persistence archive.


Remove the @IndexedColumn when switching back to set.  The IndexColumn 
specifies a column that will determine the order of the list you are mapping 
to.  In your example below, I don't see a appl_vright_index in your table 
descriptions.  Is Hibernate/EJB3 generating the DDL?

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to