Add a property to select the JPA persistence provider to use in seam-gen
------------------------------------------------------------------------
Key: JBSEAM-4088
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4088
Project: Seam
Issue Type: Feature Request
Components: Platform interoperability
Affects Versions: 2.1.2.CR1
Reporter: Julien Kronegg
Priority: Minor
It would be nice to have a property "jpa.provider" which is defaulted to
"hibernate" and which can take other values such as "openjpa".
Such parameter should be passed to .FTL which can determine which proprietary code to
generate.
For example, the "yes_no" type leads to the following annotations:
Hibernate:
@org.hibernate.annotations.Type(type="yes_no")
OpenJPA:
@org.apache.openjpa.persistence.ExternalValues("true=Y",
"false=N")
@org.apache.openjpa.persistence.Type(char.class)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira