openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Sutter <kwsut...@gmail.com>
Subject Re: Disable DB ping on startup
Date Wed, 16 Mar 2011 13:06:14 GMT
Hi,
Can you post your persistence.xml?  Since it looks like we already know the
database type, I'm guessing there is some other property that is requiring
this "ping" to the database...  Thanks.

Kevin

On Wed, Mar 16, 2011 at 3:11 AM, Tobias Trelle <tobias.trelle@codecentric.de
> wrote:

> Hi,
>
> I'm using DB2 dialect. When OpenJPA starts up, there is some kind of ping
> to
> the database:
>
>  INFO 09:04:14 - Starting OpenJPA 2.0.1
>  INFO 09:04:15 - Using dictionary class
> "org.apache.openjpa.jdbc.sql.DB2Dictionary" (DB2 DSN09015 ,IBM DB2 JDBC
> Universal Driver Architecture 3.58.90).
> TRACE 09:04:15 -  executing stmnt 10297891
> SELECT CURRENT SCHEMA
>    FROM SYSIBM.SYSDUMMY1
> TRACE 09:04:15 -  [47 ms] spent
>
> Is it possible to disable the execution of that SELECT statement? I already
> configured the DB2 schema in persistence.xml:
>
>
>
> TIA,
> Tobias
>
>
> --
> View this message in context:
> http://openjpa.208410.n2.nabble.com/Disable-DB-ping-on-startup-tp6175609p6175609.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>

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