[jboss-user] [JBoss Seam] - Problem with h:selectManyListbox and hibernate entities

graben do-not-reply at jboss.com
Mon Jan 21 11:43:05 EST 2008


Hi,

I'm not sure if that topic is right here. Maybe first a short discription of my problem. I try to bind an entity with several onetomany bags to an h:selectManyListbox (inc. Converter) everything works while only one item is selected. if selected two or more I got an java.lang.ArrayStoreException. I recognized that hibernate produces a persistencebag with two different objecttypes x and x_$$_javassist_. The JSF Component wants the selected items to be put in an array of x_$$_javassist_ type. That's why the operation fails, but why??? I didn't get the complexity of this problem solved. Maybe someone of you can help me!

THX

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

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



More information about the jboss-user mailing list