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 <[email protected] > 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. >
