skip to Main Content

Mysql – JDBC DATETIME Type

I have a DATETIME column in a MySQL database. I use ResultSet metadata to retrieve the column type and it returns TIMESTAMP which is incorrect. How can I get the correct java.sql.SQLType value for this column? I will try to…

VIEW QUESTION
Back To Top
Search