Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases 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 and Relational Databases
Bookmark "executeUpdate("")) ???" Watch "executeUpdate("")) ???" New topic

executeUpdate("")) ???

darine darine
Ranch Hand

Joined: Mar 08, 2001
Posts: 43
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.

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

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
I agree. Here's the link:
subject: executeUpdate("")) ???
It's not a secret anymore!