[jboss-jira] [JBoss JIRA] Commented: (JBAS-6547) In persistence.xml if the </jta-data-source> tag is in a new line, the persistence it's not corrected loaded.

jaikiran pai (JIRA) jira-events at lists.jboss.org
Mon Mar 2 03:24:58 EST 2009


    [ https://jira.jboss.org/jira/browse/JBAS-6547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12454890#action_12454890 ] 

jaikiran pai commented on JBAS-6547:
------------------------------------

This is not a bug. The xsd allows newlines to be present for this jta-data-source element. It's upto the end user to specify the correct value. See this post in the forum for more details http://www.jboss.org/index.html?module=bb&op=viewtopic&t=147890#4199474


> In persistence.xml if the </jta-data-source> tag is in a new line, the persistence it's not corrected loaded.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-6547
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6547
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: JBossAS-5.0.1.GA
>            Reporter: Israel Lacerra
>
> If I run JBoss with this persistence.xml:
> ..
> <persistence-unit name="rosys">
> 		<jta-data-source>java:/jdbc/rosys-core
> </jta-data-source>
> ...
>  the entities are not loaded.
> But if I change the persistence:
> <persistence-unit name="rosys">
> 		<jta-data-source>java:/jdbc/rosys-core</jta-data-source>
> everything goes fine.

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

        



More information about the jboss-jira mailing list