camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben O'Day" <>
Subject Re: JPA DB Connection Properties
Date Tue, 25 Jan 2011 18:29:10 GMT
Claudio, you can use the "jpaProperties" and Spring property-placeholder to
do this...

    <ctx:property-placeholder ignore-unresolvable="true"

    <bean id="entityManagerFactory"
        <property name="persistenceUnitName" value="camel"/>
        <property name="jpaProperties">
                <prop key="openjpa.ConnectionURL">${openjpa.url}</prop>


On Tue, Jan 25, 2011 at 8:12 AM, davsclaus <> wrote:

> I think this is a general question how to do this with JPA. How to use
> property placeholders in the persistence.xml file. Its not Camel specific.
> I think you should google and ask at JPA community how to do that.
> If you find a solution then please keep us posted. As others may see this
> question and would like to find a solution as well.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message