On Thu, May 21, 2009 at 5:16 PM, Pinaki Poddar <[email protected]> wrote:

>
> Hi,
>  How did you tell OpenJPA to use "MyDataSource"?


First I asked nicely, then I got ignorant with it, then I put this in
persistence.xml:

<property name="openjpa.ConnectionDriverName"
value="yadda.yadda.MyDataSource" />
<property name="openjpa.ConnectionProperties"
value="DefaultDbRegistryName=default" />

-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:[email protected]

Reply via email to