Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sat, 13 Sep 2008 @ 12:44:48 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


Subj:   Re: JDBC autoCommit(false) question
 
From:   McCall, Glenn David

  I believe setAutoCommit() is supported only in TMODE=ANSI (though I don't see that in the documentation, and it doesn't throw an error in TMODE=TERA). This is true of ODBC also, BTW.  


Both modes support setAutoCommit - however it is effectively a no-operation if the session mode is Tera.


  With TMODE=TERA, you should execute explicit "BT;" statement to start a multi-statement transaction and "ET;" statement to end it.  


If you need a "transaction", then that is one way. Another is a multi-statement request and/or a macro.



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023