• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with resultset

 
seema prakash
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a JTextField c_name. I have a focus listener added to this.I enter a value in this box and store this value in a variable cust_name. I pass this variable to the select statement to retrieve values from the database. The problem is I do not get all the rows. The resultset returns just one row( whichever it finds first). But when I execute the same statement in SOLPlus, the results are obtained(even duplicate rows).Please help and thanks in advance.
 
seema prakash
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it working! I had not committed after inserting values in the table. Now the same code works fine
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic