Hi,

Your problem is a know issue on the SDK for a long time: see
http://stackoverflow.com/questions/1641697/google-app-engine-jdo-and-equals-hashcode
and many others: see 
http://www.google.com/search?hl=en&source=hp&q=class+not+enhanced+app+engine

What I do to fix it is that I manually declare 1 by 1 my classes in go
to Eclipse -> Project Settings -> Google -> App Engine -> ORM and
remove the original generic definition in that place

Then, the problem never appears again: classes are processed by SDK
enhancer when needed.

regards

didier

On Aug 31, 3:57 pm, leonardo battagli <leonardobatta...@gmail.com>
wrote:
> I am using google plugin for eclipse, I have only a jpa class and I
> have been able to store some data yesterday. I have seen this data in
> the 'datastore viewer'.
>
> Google plugin should Enhance the class by itself and it is really what
> it was doing 'till now.
>
> NOW it seems it does not enhance anymore, by the way my app does not
> work anymore, I can't see anything, server logs reports:
>
> #
> 08-31 06:52AM 16.827 /hellomaps/greet 500 8749ms 3700cpu_ms 0kb
> Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.8) Gecko/
> 20100722 Firefox/3.6.8,gzip(gfe)
> See details
>
> 81.208.61.202 - - [31/Aug/2010:06:52:25 -0700] "POST /hellomaps/greet
> HTTP/1.1" 500 93 "http://toscanamtb.appspot.com/hellomaps/
> 0D172B07E8B40CB0D57916983AD3F853.cache.html" "Mozilla/5.0 (Windows; U;
> Windows NT 5.1; it; rv:1.9.2.8) Gecko/20100722 Firefox/
> 3.6.8,gzip(gfe)" "toscanamtb.appspot.com" ms=8749 cpu_ms=3700
> api_cpu_ms=0 cpm_usd=0.102894 loading_request=1
>
> #
> E 08-31 06:52AM 25.536
>
> org.datanucleus.metadata.MetaDataManager initialiseFileMetaDataForUse:
> Found Meta-Data for class it.incontrimtb.server.Appuntamento but this
> class is not enhanced!! Please enhance the class before running
> DataNucleus.
> org.datanucleus.exceptions.NucleusUserException: Found Meta-Data for
> class it.incontrimtb.server.Appuntamento but this class is not
> enhanced!! Please enhance the class before running DataNucleus.
>         at
> org.datanucleus.metadata.MetaDataManager.initialiseClassMetaData(MetaDataManager.java:
> 2225)
>         at
> org.datanucleus.metadata.MetaDataManager.initialiseFileMetaData(MetaDataManager.java:
> 2176)
>         at
> org.datanucleus.metadata.MetaDataManager.initialiseFileMetaDataForUse(MetaDataManager.java:
> 881)
>         at
> org.datanucleus.metadata.MetaDataManager.loadPersistenceUnit(MetaDataManager.java:
> 794)
>         at
> org.datanucleus.jpa.EntityManagerFactoryImpl.initialisePMF(EntityManagerFactoryImpl.java:
> 488)
>         at
> org.datanucleus.jpa.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:
> 355)
>         at
> org.datanucleus.store.appengine.jpa.DatastoreEntityManagerFactory.<init>(DatastoreEntityManagerFactory.java:
> 63)
>         at
> org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider.createEntityManagerFactory(DatastorePersistenceProvider.java:
> 35)
>         at javax.persistence.Persistence.createFactory(Persistence.java:172)
>         at
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:
> 112)
>         at
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:
> 66)

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