Please post the persistence.xml file you were that led to this exception.
Thanks, Rick
On May 11, 2012 2:15 AM, Daniel Persson mailto.wo...@gmail.com wrote:
Hi.
Might have found a bug.
This could be replicated with a malformed persistence.xml. You have to
create a configuration without any
Somebody know how can i create my entities (openJPA) from the database
using any maven plugin??
Thanks
--
---
*SCJA. José Luis Cetina*
---
Can you share how do you create your Entites with Maven? i can do the
enhancement, sql and schema, but i dont know how to use the
ReverseMappingTool
--
---
*SCJA. José Luis Cetina*
Im trying to create my Entities from my database with Maven but i always
get an error, somebody knows what can be?
when i use:
mvn org.codehaus.mojo:exec-maven-plugin
i get this error:
No plugin found for prefix 'org.codehaus.mojo' in the current project and
in the plugin groups
?xml version=1.0 encoding=UTF-8?
persistence version=2.0 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_2_0.xsd;
persistence-unit
Im trying to add the annotations atribbute to my pom.xml in
the reversemappingtool tag but i get this error:
Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.1:run
(default) on project mavenproject3: Error executing ant tasks: The
reversemappingtool type doesn't support the
The documentation says: -annotations/-ann true/t | false/f: Set to true
to generate JPA annotations in generated Java classes. (page 294 openJPA
2.2.0)
But i use: generateAnnotations=true and works
reversemappingtool
package=com.xyz.model
directory=${basedir}/src/main/java
metadata=none