wood burning stoves*
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
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: executeUpdate("")) ???
 
Similar Threads
Doubt in Transaction
Insertion in MS EXCEL
help with another exception
Insert arabic data in database through jsp file
my java application doesn't update the table?