Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

executeUpdate("")) ???

 
darine darine
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic