Reputation: 2364
Quick question what's the correct way to use ResultSet and PreparedStatement to access an ENUM field in MySQL?
Upvotes: 3
Views: 5982
Reputation: 29680
never did but I would use String, see the documentation:
21.4.4.3. Java, JDBC and MySQL Types
Upvotes: 3