我升级到 Springboot 3.0,在我的 hibernate 实体类中有类似的内容:
@Column(columnDefinition = "jsonb", nullable = false, updatable = true, name = "accounts")
@Type(type = "jsonb")
private ArrayList<Account> accounts;
Run Code Online (Sandbox Code Playgroud)
但自从升级到 Springboot 3.0 并迁移到 Jakarta 持久性以来,我收到了异常“无法解析方法‘类型’”。
我需要 com.vladmihalcea.hibernate.type.json.JsonBinaryType 的替代品;