[jboss-user] [EJB 3.0] - Re: Composite primary keys
ssrinivas
do-not-reply at jboss.com
Tue Jan 30 15:53:09 EST 2007
i have a similar error, but no such mappedBy error.
i have defined the fetchtype as lazy and i get this error when i try to get the value of isEmpty or iterator.
the object is detatched. In fact it is serialized out through the local interface. i had initialized the collection data member to an empty array list, but i still get this error. How can i initialize this collection before returning? Please note i do not want to populate the collection yet with all its actual entries.
i am using jboss with ejb3, but i do not have spring framework. i have seen some postings regarding OpenSessionInViewFilter to be added to web.xml.
do i have to do that?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008511#4008511
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008511
More information about the jboss-user
mailing list