[jboss-jira] [JBoss JIRA] (WFLY-2212) Update JPA subsystem to use default datasource

Scott Marlow (JIRA) jira-events at lists.jboss.org
Sat Oct 19 07:47:02 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12823313#comment-12823313 ] 

Scott Marlow commented on WFLY-2212:
------------------------------------

One other comment, if eeModuleDescription.getDefaultResourceJndiNames().getDataSource() is returning  "java:comp/DefaultDataSource", this patch will not be useful.  In which case, a different change is needed.  Can you clarify?

What does eeModuleDescription.getDefaultResourceJndiNames().getDataSource() return exactly?  If it returns "java:jboss/datasources/ExampleDS", we are fine.  If not, the other patch is simpler and mostly to standalone.xml and other configuration files to default the jpa datasource to "java:jboss/datasources/ExampleDS" and the Configuration.allowDefaultDataSourceUse(pu) change would also be needed.
                
> Update JPA subsystem to use default datasource
> ----------------------------------------------
>
>                 Key: WFLY-2212
>                 URL: https://issues.jboss.org/browse/WFLY-2212
>             Project: WildFly
>          Issue Type: Task
>          Components: JPA / Hibernate
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>             Fix For: 8.0.0.CR1
>
>
> See comments in WFLY-2027 before starting the work on this jira...

--
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


More information about the jboss-jira mailing list