jdbc: Get the SQL Type Name from java.sql.Type code
Java 8 and later: JDBCType & SQLType With improvements in the API’s, as of Java 8 and JDBC 4.2, we have JDBCType and SQLType, and in the same spirit as some of the other examples can be simply used as follows: String typeName = JDBCType.valueOf(-5).getName(); But of course, why using the numeric types to begin …