geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brianm709 <>
Subject Re: Accessing SQL Server datasource from EJB
Date Wed, 19 Dec 2007 20:36:30 GMT

I am using geronimo-tomcat6-jee5-2.0.2.
I was able to get it to work by explicitly setting the database properties
in my persistence.xml.
This will work for me for now, but I would prefer to use a datasource.

<?xml version="1.0" encoding="UTF-8"?>
<persistence   xmlns=""
   <persistence-unit name="myawddbPU">
      <description>Phone Book</description>
         <property name="openjpa.ConnectionURL"
value="jdbc:sqlserver://;DatabaseName=AWDP_32" />
         <property name="openjpa.ConnectionDriverName"
value=" " />
         <property name="openjpa.ConnectionUserName" value="XXXXX" />
         <property name="openjpa.ConnectionPassword" value="XXXXXXXX" />
         <property name="openjpa.jdbc.SynchronizeMappings" value="false" />


View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message