Hi, It works fine now. "@PersistenceCapable" made it work. This was the only line missing in the class that I had written. Thanks a ton for your help.
Regards, Smitha. On Sat, Apr 10, 2010 at 9:09 PM, Smitha Kamath <namrat...@gmail.com> wrote: > Thanks a lot for your response.I will check that again and if it still > doesn't work I shall post the class. > The fact is that I tried out the Greetings sample in another project and it > worked fine. So I was trying to develop one of my own. > > Thanks again for both your responses. I will get back to you at the earlist > with more details. > > Thanks & Regards, > Smitha. > > > On 4/10/10, Ikai L (Google) <ika...@google.com> wrote: >> >> That's my suspicion as well. Guess we'll have to wait and see. >> >> >> On Fri, Apr 9, 2010 at 2:01 PM, David Sowerby >> <david.sowe...@virgin.net>wrote: >> >>> I usually find I get this when the class I am trying to persist >>> doesn't have the @PersistenceCapable annotation, or more often, where >>> one of its ancestors hasn't. >>> >>> On Apr 9, 6:47 pm, "Ikai L (Google)" <ika...@google.com> wrote: >>> > Can you post the class? >>> > >>> > >>> > >>> > >>> > >>> >>> > On Fri, Apr 9, 2010 at 5:49 AM, Smitha <namrat...@gmail.com> wrote: >>> > > I'm trying to create a JDO object, create a table and assign values >>> to >>> > > it. >>> > >>> > > But I'm getting the following error when i try to run it although I >>> > > have enhanced it and I'm using the Google Plugin for eclipse to build >>> > > it. >>> > >>> > > The class "The class "com.store.db.UserDetails" 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 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 >>> > > for the class is not found. >>> > > RequestURI=/signUser >>> > >>> > > Caused by: >>> > >>> > > org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException: >>> > > The class "The class "com.store.db.UserDetails" 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 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 >>> > > for the class is not found. >>> > > at >>> > >>> >>> > > >>> org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(Nuc >>> leusJDOHelper.java: >>> > > 241) >>> > > at >>> > >>> > > >>> org.datanucleus.jdo.JDOPersistenceManager.jdoMakePersistent(JDOPersistenceM >>> anager.java: >>> > > 674) >>> > >>> > > Please let me know if you need any more details. >>> > > Thanks in advance. >>> > > Smitha. >>> > >>> > > -- >>> > > 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<google-appengine-java%2bunsubscr...@googlegroups.com><google-appengine-java%2B >>> unsubscr...@googlegroups.com> >>> > > . >>> > > For more options, visit this group at >>> > >http://groups.google.com/group/google-appengine-java?hl=en. >>> > >>> > -- >>> > Ikai Lan >>> >>> > Developer Programs Engineer, Google App Enginehttp:// >>> googleappengine.blogspot.com|http://twitter.com/app_engine >>> >>> -- >>> 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<google-appengine-java%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/google-appengine-java?hl=en. >>> >>> >>> >> >> >> >> -- >> Ikai Lan >> Developer Programs Engineer, Google App Engine >> http://googleappengine.blogspot.com | http://twitter.com/app_engine >> >> -- >> 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<google-appengine-java%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-appengine-java?hl=en. >> > > -- 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.