Using JDO, I persist without error an object containing List of String
elements. However, when I read back the object, I get this multi-part
error indicating that the object just persisted without error is not
persistable. If there was a problem persisting the object, it would
have been nice to get an exception when it was persisted. So, if I
think List is enhanced, then what?
I've seen many related posts on this, and the advice ranged from "the
solution is in the error message [you dummy]" to "this must be GWT
related" to "enhancing ArrayList doesn't work, so you are
expected to read each member as org.datanucleus.sco.backed.ArrayList."
This seems pretty basic. Can somebody wake me from this nightmare?
SEVERE: [1269227590728000] javax.servlet.ServletContext log: Exception
while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.util.List
com.sportzcasteralpha2a.myproject.client.
mvc.Service.boxDataFetch(java.util.List)' threw an unexpected
exception:
org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException:
The class "The class "java.util.ArrayList" 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."
is n
ot persistable. This means that it either hasnt been enhanced, or that
the enhanced version of the file is not in the CLASSPATH (or is hidde
n by an unenhanced version), or the Meta-Data for the class is not
found.
NestedThrowables:
org.datanucleus.exceptions.ClassNotPersistableException: The class
"java.util.ArrayList" 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/a
nnotations for the class are not found.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.