Hi,

I don't know how DBCP works exactly in this case. To find out what
JDBC methods DBCP called, and what SQL statements were executed, you
can append ;TRACE_LEVEL_FILE=3 to the database URL, then run the test
case. After that you get all information in the .trace.db file.

> I'm getting unexpected results from H2 and am not sure if it's a bug
> or if it's the correct behavior.

I'm not sure, but it sounds like a bug in DBCP, but maybe it's just a
configuration problem.

> I'm using H2 via Apache Commons DBCP (connection pooling, 10
> connections).

Could you try with 2 threads?

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to