java.sql.SQLException: Conversion not supported for type xxx.enums.Gender

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by cemo koc, 1 year ago
Conversion not supported for type xxx.enums.Gender
via Spring JIRA by cemo koc, 1 year ago
Conversion not supported for type xxx.enums.Gender
via Stack Overflow by Dhinakar
, 1 year ago
Can not issue SELECT via executeUpdate().
via Stack Overflow by sorin penteleiciuc
, 10 months ago
The connection property 'failOverReadOnly' only accepts values of the form: 'true', 'false', 'yes' or 'no'. The value 'false,address=(type=master)(protocol=tcp)(host=localhost)(port=3306)(user=test)(password=test)/dbname2?failOverReadOnly=false' is not in this set.
via Stack Overflow by Muhammad Kashif
, 1 year ago
No value specified for parameter 1
via Stack Overflow by Unknown author, 2 years ago
java.sql.SQLException: Conversion not supported for type xxx.enums.Gender
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1094)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:997)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:983)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:928)
at com.mysql.jdbc.ResultSetImpl.getObject(ResultSetImpl.java:5121)
at com.mysql.jdbc.JDBC4ResultSet.getObject(JDBC4ResultSet.java:542)
at org.springframework.jdbc.support.JdbcUtils.getResultSetValue(JdbcUtils.java:197)
at org.springframework.jdbc.core.BeanPropertyRowMapper.getColumnValue(BeanPropertyRowMapper.java:311)
at org.springframework.jdbc.core.BeanPropertyRowMapper.mapRow(BeanPropertyRowMapper.java:249)
at org.springframework.jdbc.core.RowMapperResultSetExtractor.extractData(RowMapperResultSetExtractor.java:93)
at org.springframework.jdbc.core.RowMapperResultSetExtractor.extractData(RowMapperResultSetExtractor.java:60)
at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:705)

Users with the same issue

Once, 3 days ago
5 times, 3 days ago
Once, 1 week ago
4 times, 1 week ago
77 times, 2 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.