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.
posted 12 years ago
I got it working! I had not committed after inserting values in the table. Now the same code works fine