You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by "Britton, Colin" <cb...@metatomix.com> on 2001/12/10 16:59:31 UTC

JDBC Store

I have been looking at the JDBC stores and wanted to check that my
understanding was correct of a couple of issues.

When you use a given store it creates a transaction with enlist(). This
uses the service name for the store (for example "jdbc") and takes
exclusive use. This means that if two 'puts' for example happen at the
same time then when the second 'put' tries to enlist it loops for 4
seconds in the enlist method and then throws an exception if it cannot
get access to the store. We have multiple processes trying to add data
at the same time and some of these files take longer than 4 seconds to
add.

Have I understood this correctly? How can two clients both do put's at
the same time? 

rgds
CB



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>