Thanks for the help from you guys!
But, yes im using IsSEriazeble. I've changed my code to detachable in both
classes, but, when i call:

if(listMyClass.size() > 0)
{
for (MyClass myClass : listMyClass) {
return (pm.detachCopy(myClass.getMyInnerClassList()));
}
}
return null;


gives me : The class "org.datanucleus.sco.backed.List" is not persistable.
This means that it either hasnt been enhanced, or that the enhanced version
of the file is not in the CLASSPATH (or is hidden by an unenhanced version),
or the Meta-Data/annotations for the class are not found.


debugging this, i've reached this : assertClassPersistable in the class
ObjectMAnagerImpl. This function :

    public void assertClassPersistable(Class cls)
    {
        if (cls != null &&
!getOMFContext().getApiAdapter().isPersistable(cls) && !cls.isInterface())
        {
            throw new ClassNotPersistableException(cls.getName());
        }
        if (!hasPersistenceInformationForClass(cls))
        {
            throw new NoPersistenceInformationException(cls.getName());
        }
    }


2011/10/9 Brandon Donnelson <branflake2...@gmail.com>

>
> @PersistenceCapable(detachable="true")
>
>
> detached = pm.detachCopy(employee);
>
>
> Those will create a java.util List object. That should fix it.
>
> Brandon
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/ikusuY9VjW0J.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to