0

How to get a boolean value from a myquery connected to javafx?

hey guys! i am working on a javafx application that's connected to mysql by jdbc.In my table there is a coloum id which is unique and primary key so how can i a get a boolean value that return true when id exists and false if it doesn't..Thank you!

26th Jul 2017, 11:43 AM
Raghav Chinda
Raghav Chinda - avatar
1 Odpowiedź
0
If the column is a primary key, then it will always exist on every row in the table.
27th Jul 2017, 3:00 AM
Matthew Welke
Matthew Welke - avatar