views:

845

answers:

1

Quick question what's the correct way to use ResultSet and PreparedStatement to access an ENUM field in MySQL?

+1  A: 

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

Carlos Heuberger