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

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Oct 10 11:44:30 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-1063?page=comments#action_12381451 ] 
            
Alexey Kazakov commented on JBIDE-1063:
---------------------------------------

We can just create Factory object if we meet <core:entity-manager-factory name="rtEntityManagerFactory"/>
But it means that in every EL "rtEntityManagerFactory" will be ok. Not only for <core:managed-persistence-context entity-manager-factory=""/>
Max, is it ok?

> 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