Skip to content
New issue

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

字段为枚举类型时,QueryDSL api查询不正确 #49

Open
wayshall opened this issue Sep 2, 2022 · 0 comments
Open

字段为枚举类型时,QueryDSL api查询不正确 #49

wayshall opened this issue Sep 2, 2022 · 0 comments
Milestone

Comments

@wayshall
Copy link
Owner

wayshall commented Sep 2, 2022

使用QueryDSL api查询时,如果字段使用了枚举(@Enumerated(EnumType.ORDINAL))方式映射,而枚举类又没有实现DbmEnumValueMapping接口时,查询的值不会自动转位int值,而是使用了枚举变量的名称作为查询值。

@wayshall wayshall added this to the 4.8.0 milestone Sep 2, 2022
wayshall added a commit that referenced this issue Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant