Re: QueryCache don't allow for misconfigurations

2012-05-11 Thread Rick Curtis
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

ReverseMappingTool Maven

2012-05-11 Thread José Luis Cetina
Somebody know how can i create my entities (openJPA) from the database using any maven plugin?? Thanks -- --- *SCJA. José Luis Cetina* ---

Re: Programmatic usage of ReverseMappingTool

2012-05-11 Thread 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*

No plugin found for prefix org.codehaus.mojo

2012-05-11 Thread 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

Re: QueryCache don't allow for misconfigurations

2012-05-11 Thread Daniel Persson
?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

reversemappingtool type doesn't support the annotations attribute

2012-05-11 Thread José Luis Cetina
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

Re: reversemappingtool type doesn't support the annotations attribute

2012-05-11 Thread José Luis Cetina
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