I have a small Roo 1.1.1 Spring MVC project that is working fine with
However, I intend to eventually deploy on GAE so I tried
persistence setup --provider HIBERNATE --database HYPERSONIC_PERSISTENT
When I tried to run it on Server I got DataNucleus exceptions on each of my entities:
persistence setup --provider DATANUCLEUS --database GOOGLE_APP_ENGINE --applicationId caskating
So I think maybe I should start anew. I delete my project and run my script with GAE persistence. Now I have a new set of problems. My most important entity Tour won't compile. It has 4 many-to-many relationships. In Tour_Roo_JavaBean.aj there are 2 errors for each.
2011-02-10 20:52:57,612 [main] ERROR DataNucleus.MetaData - Found Meta-Data for class com.getrolling.cis.server.domain.Location but this class is not enhanced!! Please enhance the class before running DataNucleus.
org.datanucleus.exceptions.NucleusUserException: Found Meta-Data for class com.getrolling.cis.server.domain.Location but this class is not enhanced!! Please enhance the class before running DataNucleus.
has the error
declare @field: * Tour.relatedTours: -@ManyToMany(cascade = CascadeType.ALL);
And each of the setters for my many-to-many Sets reference the infamous Employee class. There is no Employee class in my project.
Annotation removal does not allow values to be specified for the annotation (compiler limitation)
Despite dire warnings, I fix these in the .aj and try to run. Many more exceptions are thrown.
It appears that GAE persistence is still not ready for prime time.