I just tried
testing the same by writing a sample client program as:
(Client side transaction)
//Get utx by doing a jndi lookup on Weblogic server
utx.begin();
//Create a DB connection (raw jdbc connection using Class.forName(..) .....)
//update stmt a
//update stmt b
utx.commit();
utx.begin();
//update stmt c
utx.rollback();
When i look at the db i see update statement c's changes.
The above scenario should not be any different from executing the same on the server. The underlying DB is teradata.
I have tried the same program with the connection object being created both before and after the "utx.begin()" at the start of program - same result