[jbosstools-issues] [JBoss JIRA] (JBIDE-11394) Generate persistence.xml and -ds.xml based on DTP Connection info
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Thu May 31 20:47:18 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697811#comment-12697811 ]
Viacheslav Kabanovich commented on JBIDE-11394:
-----------------------------------------------
So, it may be a check-box 'Register in persistence.xml' in 'New JBoss Datasource' wizard.
For a new <persistence-unit> element, would you please suggest a template? For example, may it be hibernate-based, as follows
<persistence-unit name="$project_name">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>$data_source</jta-data-source>
<property name="hibernate.dialect" value="$hibernate_dialect"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.format_sql" value="true"/>
</persistence-unit>
where $hibernate_dialect is to be computed by connection profile?
> Generate persistence.xml and -ds.xml based on DTP Connection info
> -----------------------------------------------------------------
>
> Key: JBIDE-11394
> URL: https://issues.jboss.org/browse/JBIDE-11394
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: common/jst/core, hibernate
> Environment: JBDS 5 Beta1
> Reporter: Pete Muir
> Assignee: Viacheslav Kabanovich
> Priority: Minor
> Fix For: 3.4.0.M1
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list