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

        

Reply via email to