I want to retrieve the most recently updated value in the table using an insert query.
these are the datatypes in my sql table.
Datatype:
Maybe it's because that the sqlQuery doesn't create any new record! In this case, it will return an empty ResultSet Look at the specification of getGeneratedKeys()