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

实体类中可以映射mysql中的json类型吗 #13

Open
lixu0819 opened this issue Oct 9, 2020 · 2 comments
Open

实体类中可以映射mysql中的json类型吗 #13

lixu0819 opened this issue Oct 9, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@lixu0819
Copy link

lixu0819 commented Oct 9, 2020

No description provided.

@xutengx xutengx added the enhancement New feature or request label Oct 9, 2020
@xutengx
Copy link
Member

xutengx commented Oct 9, 2020

目前不可以

@xutengx
Copy link
Member

xutengx commented Sep 19, 2022

你好,在 4.3.0 中, 增加了json类型的通用支持。
eg :

@Column(name = "json_object_column", conversion = FieldConversion.Json.class)
private Info info;

@Column(name = "json_array_column", conversion = FieldConversion.Json.class)
private List<Info> infos;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants