Hello,

I am just starting off with the Google App Engine and am trying to
understand its datastore and how to use JDO (I am new to JDO too).

I am trying to make a String persistent as follows:

            @Persistent
            private String inputName;

At run time I am getting this error:

Caused by: org.datanucleus.exceptions.ClassNotPersistableException:
The class "java.lang.String" is not persistable.

I have followed all the instructions here:
http://www.datanucleus.org/products/accessplatform/enhancer.html

and have added the datanucleus-enhancer.jar to my classpath. I am
still not able to resolve the above error.

It seems to be something basic and small.. but I am stuck.

Any help will be greatly appreciated.

Thanks,
rsutaria

-- 
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.

Reply via email to