You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/04/15 07:33:43 UTC

[jira] Created: (CAMEL-2647) camel-jpa - JpaComponent should auto lookup EntityManagerFactory for convention over configuration

camel-jpa - JpaComponent should auto lookup EntityManagerFactory for convention over configuration
--------------------------------------------------------------------------------------------------

                 Key: CAMEL-2647
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2647
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-jpa
    Affects Versions: 2.2.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.3.0


Camel end users most likely have configured an {{EntityManagerFactory}} in Spring XML

{code:xml}
    <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean">
        <property name="persistenceUnitName" value="camel"/>
    </bean>
{code}

Which the JpaComponent should auto lookup and use. Otherwise you have to configure it on the JpaComponent manually.

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

        

[jira] Resolved: (CAMEL-2647) camel-jpa - JpaComponent should auto lookup EntityManagerFactory for convention over configuration

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2647.
--------------------------------

    Resolution: Fixed

trunk: 934296.

> camel-jpa - JpaComponent should auto lookup EntityManagerFactory for convention over configuration
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2647
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2647
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jpa
>    Affects Versions: 2.2.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Camel end users most likely have configured an {{EntityManagerFactory}} in Spring XML
> {code:xml}
>     <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean">
>         <property name="persistenceUnitName" value="camel"/>
>     </bean>
> {code}
> Which the JpaComponent should auto lookup and use. Otherwise you have to configure it on the JpaComponent manually.

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