[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error: ExternalTransaction in a LocalDatabase
Hi!
I cannot begin an ExternalTransaction on a LocalDatabase with the newest
CVS code
because ExternalTransaction.begin
uses ExternalDatabase.beginTX
uses LocalDatabase.joinTX
which always throws a RuntimeException.
The code in LocalDatabase is:
public void joinTX( AbstractTransaction tx ) throws TransactionExc {
// currently the client side threads are used for server
internal work;
// that is, DbLocalClient just calls the appropriate server
method; but
// the server can handle only one thread per transaction,
therefore
// jointTX for local connections is not allowed -> one
(Command)Thread per
// DbLocalClient
throw new RuntimeException( "joinTX()" );
}
mike