[hibernate-dev] Hibernate Extras module

Steve Ebersole steve at hibernate.org
Sat Jul 1 20:48:06 EDT 2017


Not much to add wrt why this won't get added to core unless/until there is
direct standardized support for JSON types in JDBC.

As others have pointed out I think a single `hibernate-extras` module is
not going to work.  Specifically based on the dependencies pulled in.

On Sat, Jul 1, 2017, 3:50 PM Jordan Gigov <coladict at gmail.com> wrote:

> If they want Json support for JSR-353 types, one is already published.
> https://mvnrepository.com/artifact/com.mopano/hibernate-json-contributor
>
> If they want it for a non-standard API, they are free to use it's source as
> a base. License permits it.
> They will need 5.2.10 if they need to bind a JsonArray as a native query
> parameter.
>
> I've tried making a module that uses PgObject, but that runs into very
> nasty classloader problems in Apache Tomcat. A work-around should be
> possible with reflection, but it isn't worth it for things where
> [sg]etString works.
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>


More information about the hibernate-dev mailing list