[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1063) Pick up the entity-manager-factory definition to avoid validation errors

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Wed Oct 10 12:20:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-1063?page=comments#action_12381469 ] 
            
Viacheslav Kabanovich commented on JBIDE-1063:
----------------------------------------------

Actually, this case usually validates as correct (at least I cannot reproduce the bug). I suspect, that in some cases seam model may be updated incorrectly, so that detailed use-case description and copy of components.xml is needed. Max, could you provide it?

> Pick up the entity-manager-factory definition to avoid validation errors
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-1063
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1063
>             Project: JBoss Tools
>          Issue Type: Feature Request
>          Components: Seam
>    Affects Versions: 2.0.0.Beta4
>            Reporter: Max Andersen
>         Assigned To: Viacheslav Kabanovich
>             Fix For: 2.0.0.CR1
>
>
> In components xml the #{rtEntityManagerFactory} get's validated as an error in the following:
>    <core:managed-persistence-context name="entityManager"
>                               auto-create="true"
>                    entity-manager-factory="#{rtEntityManagerFactory}"/>
> It seems that if we would pick up this one as the definition of the factory then we would be fine:
>    <core:entity-manager-factory name="rtEntityManagerFactory" 
>                persistence-unit-name="rt"/>
> Is that doable in the current setup ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list