Actually the problem is that you (or the author of the JsonType class) are using an internal Hibernate class in a way it is not intended.
Anyway, you can feel free to use the new method. But again this is an internal Hibernate class; meaning we only "support" its use from other Hibernate classes.
|