We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
复现步骤:
@Column(typeHandler = BasicEnumTypeHandler.class) private CommonStatus status;
调用BaseMapper的updateByPrimaryKeySelectiveWithForceFields方法,status传入CommonStatus.ENABLE,然后updateByPrimaryKeySelectiveWithForceFields构造的SQL中没有javaType,导致实例化typeHandler时构造函数传入了java.lang.Object.
因此需要补充javaType属性
The text was updated successfully, but these errors were encountered:
fix: 修复BaseMapper方法中未生成javaType属性导致无法携带字段类型实例化typeHandler。close mybat…
ebf95ee
…is-mapper#14
No branches or pull requests
复现步骤:
调用BaseMapper的updateByPrimaryKeySelectiveWithForceFields方法,status传入CommonStatus.ENABLE,然后updateByPrimaryKeySelectiveWithForceFields构造的SQL中没有javaType,导致实例化typeHandler时构造函数传入了java.lang.Object.
因此需要补充javaType属性
The text was updated successfully, but these errors were encountered: