You can also set a property in DB2 on how the connections are shared:
Determines whether connections are shared based on the current state of the connection (-1) or the original connection request (0).
To specify with greater granularity which connection
properties are matched based on the current state, you may combine the following constants by
adding them together: 1=transaction isolation level, 2=read only, 4=holdability, 8=type map, 16=catalog.
However, I would be careful using anything else than transaction isolation level.