[hibernate-dev] Hibernate Extras module

Vlad Mihalcea mihalcea.vlad at gmail.com
Sat Jul 1 13:00:39 EDT 2017


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 <galovicsarnold at 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.vlad at 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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>
>


More information about the hibernate-dev mailing list