- If you use MySQL the column type must be in this format
@Type(type = "json") @Column(name="dataEvent", columnDefinition = "json") private Object object;
- If you use postgreSQL the column type must be in this format
@Type(type = "jsonb") @Column(name="dataEvent", columnDefinition = "jsonb") private Object object;