This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes executeUpdate( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "executeUpdate("")) ???" Watch "executeUpdate("")) ???" New topic
Author

executeUpdate("")) ???

darine darine
Ranch Hand

Joined: Mar 08, 2001
Posts: 43
All
I'm trying to insert data to an empty table and so when i execute just one statement(st.executeUpdate("")) i do not get anything entered,so i had to use a second statement with the first one in order to get the data from the first statement entered to the first row.
please let me know what is the ideal solutions.
here is the code.
thanks.
===================

[ Edited by Dave to format code and fix ]
[ March 12, 2002: Message edited by: David O'Meara ]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I'm sorry but I couldn't understand the problem you were having.
If the problem is that you are trying to insert some data and it is not getting written to the DB, try this thread
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: executeUpdate("")) ???