Hi, Amit
What kind problem do you have?
I can't understand your problem.
In JDBC API, Connection.commit() method does not return
affected row count.
Generally, Statement.executeUpdate(String) method returns
that count.
Thanks.
Amit Dilip Lonkar wrote:
>
> HI
>
> I am using java. i am fireing the following query ,after and insert or
> update in Mysql through Java
> int returnValue = backend.setQueryResult("commit");
>
> where setQueryResult(String sql) is method that updates data in database.
> i have set the connection.setAutoCommit(false). The "returValue" is
> returned as "0" when the query is fired.
--
TAKAHASHI, Tomohiro
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php