openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-2428) ability to configure properties and classes of the persistence xml in the pom when using openjpa-maven-plugin to enhance entities
Date Thu, 19 Sep 2013 13:17:52 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-2428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Romain Manni-Bucau updated OPENJPA-2428:
----------------------------------------

    Attachment: openjpa-ontheflypersistencexml.patch
    
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message