Re: [hibernate-dev] Hibernate Extras module

2017-07-01 Thread Steve Ebersole
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 P

Re: [hibernate-dev] Hibernate Extras module

2017-07-01 Thread Jordan Gigov
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 JsonA

Re: [hibernate-dev] Hibernate Extras module

2017-07-01 Thread Arnold Gálovics
Hi Vlad, Hmm, so you are thinking about an extra module which contains ALL the DB specific features. Let's say I'm an Oracle user and I want some specific stuff but I don't want to have neither the PgObject nor the Jackson dependency. What should I do in this case? Can't we have optional module

Re: [hibernate-dev] Hibernate Extras module

2017-07-01 Thread Sanne Grinovero
On 1 July 2017 at 18:00, Vlad Mihalcea wrote: > 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. +1 > That's why I'm thinking of an extra module. Since each of these two have different depend

Re: [hibernate-dev] Hibernate Extras module

2017-07-01 Thread Vlad Mihalcea
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 wrote: > Hi Vlad, > > "any other features that cann

Re: [hibernate-dev] Hibernate Extras module

2017-07-01 Thread Arnold Gálovics
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-dev] Hibernate Extras module

2017-07-01 Thread Vlad Mihalcea
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: