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 modules which are pluggable to the hibernate-core?
If some DB specific module is on the classpath, use them.
Best,
Arnold
On Sat, Jul 1, 2017 at 8:05 PM, Sanne Grinovero <sanne(a)hibernate.org> wrote:
On 1 July 2017 at 18:00, Vlad Mihalcea
<mihalcea.vlad(a)gmail.com> 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 dependencies, wouldn't it be
better to have two extra modules?
Thanks!
Sanne
>
> Vlad
>
> On Sat, Jul 1, 2017 at 7:48 PM, Arnold Gálovics <
galovicsarnold(a)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(a)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(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>
>>
>>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/hibernate-dev