You can put those in your persistence.xml

kind regards,
christoph

On 2013-03-05 17:49, lb wrote:
Hi,

I would like to know, whatever it is possible to initialize a persistence
context using custom properties with Aries JPA, something like:

<bean id="contextWithProps">
   <jpa:context property="em" unitname="myUnit">
     <map>
       <entry key="openjpa.Log" value="slf4j"/>
       <entry key="openjpa.jdbc.DBDictionary" value="hsql"/>
     </map>
   </jpa:context></bean>

That would be really useful as the behavior of the JPA layer would then be
configurable via OSGi's ConfigAdmin.

Luca



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to