This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, there If I want to create a table using executeUpdate statement, can I use its return value to know if action has failed or succeed ? if not, what is the way to know, from the exception it throws out ? Thanks in advance, Lily
executeUpdate executes SQL insert,update, delete and DDL statements.It returns either the row count for insert, update or delete statements, or 0 for SQL statements that return nothing. It throws SQLException if there is any DB error.
Snigdha<br />Sun Certified Programmer for the Java™ 2 Platform
Joined: Dec 03, 2001
Thanks, Rene and Snigdha. Lily
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: what is the return value of executeUpdate statement to create a table?