How to access mySQL enumeration fields using Java ResultSet and PreparedStatement

Quickly ask, what is the proper way to use ResultSet and PreparedStatement to access the ENUM field in MySQL?

+3
source share
1 answer

never did, but I would use String, see the documentation:
21.4.4.3. Java, JDBC, and MySQL Types

+3
source

Source: https://habr.com/ru/post/1705997/


All Articles