|
Solved
I am using execute method of preparedStatement. before executing i set the autoCommit property to false, and at last i roll back also.
in case of exception, i show Invalid Query, otherwise the Query Syntax is correct. I am displaying the exception message in case of failure. The messge is good from a prograamer point of view, but end user can't guess what the message means!!1
if anyone have better solution please let me know.
__________________
i am the future
|