Re: JDBC behaviour - Mailing list pgsql-jdbc

From Andreas Joseph Krogh
Subject Re: JDBC behaviour
Date
Msg-id VisenaEmail.f9.f93505ffc59eaf2e.152f39d340c@tc7-visena
Whole thread Raw
In response to Re: JDBC behaviour  (Sridhar N Bamandlapally <sridhar.bn1@gmail.com>)
Responses Re: JDBC behaviour
List pgsql-jdbc
På torsdag 18. februar 2016 kl. 09:51:47, skrev Sridhar N Bamandlapally <sridhar.bn1@gmail.com>:
Ok, let me put this way
 
in JDBC we have setAutoCommit( false ) , and all dmls are independent transactions
 
and when any transaction fails then the session not allowing next transactions
 
in Java when we do setAutoCommit( false ) its behaving like all transactions in BEGIN-END block, this is not expected behavior
 
i guess this is bug
 
No, you got it backwards. With autocommit=false all statements are NOT independent transactions.
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 
Attachment

pgsql-jdbc by date:

Previous
From: Sridhar N Bamandlapally
Date:
Subject: Re: JDBC behaviour
Next
From: Sridhar N Bamandlapally
Date:
Subject: Re: JDBC behaviour