You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, EnumOrdinalTypeHandler requires specifying the Java Type in the mapping. There is an unreleased enhancement for that (#386). You can try it with the snapshot version (1.3.1-SNAPHSOT) and changing the generated code like this
Context
Mybatis 3.5.7
Mybatis Dynamic SQL 1.3.0
Mybatis Generator 1.4.0
Description
If use
org.apache.ibatis.type.EnumOrdinalTypeHandler
, it will cause IllegalArgumentException when save data, but query (select) action is right.would you help me solve this problem?thanks very much.
the follow is debug information, it shows that the parameterType is

DefaultInsertStatementProvider
so, can't get property record.username
Generator configuration
class
Error Log
The text was updated successfully, but these errors were encountered: