openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Sutter <>
Subject Re: JDBC Properties
Date Wed, 27 Oct 2010 15:42:09 GMT
Hmmm...  Probably depends on the Driver being used and what properties are
attempted to be set (ie. are they valid properties?)...

I just tried the following and this works for the DB2Driver...

            <property name="openjpa.ConnectionDriverName"
            <property name="openjpa.ConnectionProperties"
value="username=sutter, password=xxxxxx"/>
            <property name="openjpa.ConnectionURL"

I've verified this is working via TRACE and monitoring the results of my
test.  If I don't use the ConnectionProperties, then I can't get a
connection due to invalid or insufficient credentials.  Of course, the
username and password could have been specified on the URL, or via the
ConnectionUsername and ConnectionPassword properties.


On Wed, Oct 27, 2010 at 3:16 AM, idan <> wrote:

> Hey thanks for the help.
> I specified my property in openjpa.ConnectionProperties and it didnt work.
> When using DBCP i added my property to DBCP's connectionProperties and that
> worked.
> I'm probably doing something wrong with openjpa.ConnectionProperties.
> Is there any special format for this property?
> --
> View this message in context:
> Sent from the OpenJPA Users mailing list archive at

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