openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Trelle <tobias.tre...@codecentric.de>
Subject Re: Disable DB ping on startup
Date Wed, 16 Mar 2011 14:09:30 GMT
Dear Kevin,


Kevin Sutter wrote:
> 
> database type, I'm guessing there is some other property that is requiring
> this "ping" to the database...  Thanks.
> 

I just had a look at the DB2Dictionary:
http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java?view=markup

Have a look at the method

   DB2Dictionary#connectedConfiguration(Connection).

The first thing done is the mentioned database ping. It is always performed,
even if the DB schema ist already set by the openjpa.jdbc.Schema property.
Is this really necessary? At least I'd like to be able to disable it.

Cheers,
Tobias


--
View this message in context: http://openjpa.208410.n2.nabble.com/Disable-DB-ping-on-startup-tp6175609p6176662.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message