| Author |
proble with preparedStatement
|
Kishore Vallabhajosyula
Greenhorn
Joined: Mar 07, 2007
Posts: 2
|
|
Hi All, I am facing a problem with preparedStatement.executeUpdate(). My requirement is that I will execute an update query first and I need to log the result of executing query. My expectation is that, when no records are updated zero will be returned. But all the times it returns the number of rows matched. I tried even getUpdateCount(). Solution should work with both mysql and oracle. Please advice. Thanks, Kishore.
|
 |
Aditya Kumar
Ranch Hand
Joined: Oct 31, 2006
Posts: 46
|
|
|
Can you please show us the code? It helps.
|
 |
 |
|
|
subject: proble with preparedStatement
|
|
|