Ok all,

Here's a first cut at a rewritten JDBCDescriptorsStore - it uses the
connection pool from the underlying datasource object to associate each
transaction with a connection. For the various things that happen
outside the transactions (mostly initialisation stuff, I think), it also
keeps around a global connection object which acts as the previous J2EE
stores did (and the original JDBCDescriptorsStore). 

I'm not committing this yet, because I'm not sure enough about how it
all works - my testing shows things going ok, but the tests I've run are
far from comprehensive. It'd be great if those people that understand
the transaction stuff in depth could take a look at the code.

Things that are missing: I ripped out the table creation/removal code
early to simplify things a bit. I guess I'll put it back before I
commit, but I never used it anyway. 

There's a fair amount of debugging info there too, some of that'll be
removed before a commit.

Any comments would be very much appreciated.

Michael

Attachment: J2EEDescriptorsStore.java
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to