You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2013/09/19 15:17:52 UTC
[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
[ https://issues.apache.org/jira/browse/OPENJPA-2428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Romain Manni-Bucau updated OPENJPA-2428:
----------------------------------------
Description:
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}
> 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