[ 
https://issues.apache.org/jira/browse/OPENJPA-2428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793422#comment-13793422
 ] 

Romain Manni-Bucau commented on OPENJPA-2428:
---------------------------------------------

+1

> ability to configure properties and classes of the persistence xml in the pom 
> when using openjpa-maven-plugin to enhance entities
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2428
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2428
>             Project: OpenJPA
>          Issue Type: New Feature
>            Reporter: Romain Manni-Bucau
>         Attachments: openjpa-ontheflypersistencexml.patch
>
>
> The idea is to allow:
> {code}
> <plugin>
>                 <groupId>org.apache.openjpa</groupId>
>                 <artifactId>openjpa-maven-plugin</artifactId>
>                 <version>2.3.0</version>
>                 <configuration>
>                     <persistenceXmlProperties>
>                         
> <openjpa.jdbc.DBDictionary>hsql</openjpa.jdbc.DBDictionary>
>                         
> <openjpa.ConnectionDriverName>org.hsqldb.jdbcDriver</openjpa.ConnectionDriverName>
>                         
> <openjpa.ConnectionURL>jdbc:hsqldb:mem:test</openjpa.ConnectionURL>
>                         
> <openjpa.ConnectionUserName>sa</openjpa.ConnectionUserName>
>                         
> <openjpa.ConnectionPassword></openjpa.ConnectionPassword> <!-- empty -->
>                     </persistenceXmlProperties>
>                     <persistenceXmlClasses>
>                         
> <persistenceXmlClasses>org.superbiz.MyEntity</persistenceXmlClasses>
>                     </persistenceXmlClasses>
>                 </configuration>
>             </plugin>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to