How can i find out, from a Java program using JDBC if my table has a record with a specific primary key value? Can i use the ResultSet somehow after i issue a SELECT statement?
How can i find out, from a Java program using JDBC if my table
Share
Countmight be a better idea for this case. You can use it like so:Taken from here.