Hi All, I am developing an application using GAE+Java+Spring+JPA+Google CLoud SQL. When i retrieve the data from Database i'm getting the below error. *org.datanucleus.exceptions.NucleusUserException: Found Meta-Data for class <CLASS-NAME> but this class is not enhanced!! Please enhance the class before running DataNucleus.* * * Could anyone please help me to resolve the above issue.
Following is my persistence.xml file: <?xml version="1.0" encoding="UTF-8" ?> <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0"> <persistence-unit name="transactions-optional"> <provider>org.datanucleus.api.jpa.PersistenceProviderImpl</provider> <properties> <property name="datanucleus.NontransactionalRead" value="true" /> <property name="datanucleus.NontransactionalWrite" value="true" /> <property name="javax.persistence.jdbc.driver" value="com.google.appengine.api.rdbms.AppEngineDriver" /> <property name="datanucleus.ConnectionURL" value="jdbc:google:rdbms://INSTACE-NAME/DATABASE_NAME" /> <!-- <property name="datanucleus.autoCreateTables" value="false" /> --> <!-- <property name="datanucleus.storeManagerType" value="rdbms" /> --> <!-- <property name="datanucleus.jpa.level" value="JPA1" /> --> <!-- <property name="datanucleus.jpa.addClassTransformer" value="false" /> --> </properties> </persistence-unit> </persistence> -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/FLQURh227rEJ. To post to this group, send email to google-appengine-java@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.