View Single Post
  #2 (permalink)  
Old 05-05-2008, 09:13 AM
rjuyal's Avatar
rjuyal rjuyal is offline
Senior Member
 
Join Date: Mar 2008
Location: Delhi, India
Posts: 187
rjuyal is on a distinguished road
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
Reply With Quote