Hi, For Ipv4 Type, we need a dependency for PgObject. For JSON, we need the Jackson dependency, and I would not add those to the hibernate-core.
That's why I'm thinking of an extra module. Vlad On Sat, Jul 1, 2017 at 7:48 PM, Arnold Gálovics <galovicsarn...@gmail.com> wrote: > Hi Vlad, > > "any other features that cannot be added into the hibernate-core because they > are DB-specific." > Aren't Dialects in Hibernate DB specific? Why is there a reason not to > support some DB specific feature in Hibernate core? > > Isn't it possible to have DB specific Hibernate modules? For example > hibernate-core contains the core of Hibernate (as the name suggests) but > everything else DB specific is in a specific module, Dialects, custom > types, etc. > > If you could clarify this for me, that would be great as I don't know the > historic reasons. :-) > > Thank you guys! > > Best, > Arnold > > On Sat, Jul 1, 2017 at 6:31 PM, Vlad Mihalcea <mihalcea.v...@gmail.com> > wrote: > >> Hi, >> >> Someone asked me if I can supply the JSON Type as a separate module so >> that >> it can be grabbed from Maven Central: >> >> https://vladmihalcea.com/2016/06/20/how-to-map-json-objects- >> using-generic-hibernate-types/ >> >> I wonder if we should supply a hibernate-extras where we include >> non-standard features: >> >> - JSON Types >> - ARRAY types >> - Ipv4 Types >> >> or any other features that cannot be added into the hibernate-core because >> they are DB-specific. >> >> Let me know what you think. >> >> Vlad >> _______________________________________________ >> hibernate-dev mailing list >> hibernate-dev@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/hibernate-dev >> > > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev