3

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

1 Answer 1

3

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.