Dmitriy Pavlov created IGNITE-11485:
---------------------------------------

             Summary: Support Automatic modules for ignite-hibernate: Package 
interference with hibernate core and hibernate for particular verion
                 Key: IGNITE-11485
                 URL: https://issues.apache.org/jira/browse/IGNITE-11485
             Project: Ignite
          Issue Type: Sub-task
            Reporter: Dmitriy Pavlov


Hibernate 5.3:
{noformat}
error: the unnamed module reads package org.apache.ignite.cache.hibernate from 
both ignite.hibernate.5.3 and ignite.hibernate.core
{noformat}

Hibernate 5.1:
{noformat}
error: the unnamed module reads package org.apache.ignite.cache.hibernate from 
both ignite.hibernate.core and ignite.hibernate.5.1
{noformat}

Hibernate 4.2:
{noformat}
error: the unnamed module reads package org.apache.ignite.cache.hibernate from 
both ignite.hibernate.core and ignite.hibernate.4.2
{noformat}

Probably we should be classes from hibernate-core module to  
org.apache.ignite.cache.hibernate.core package, but this may affect public API

Following class will be moved in case we change core package:
- HibernateAccessStrategyAdapter
- HibernateAccessStrategyFactory
- HibernateCacheProxy
- HibernateExceptionConverter
- HibernateKeyTransformer
- HibernateNonStrictAccessStrategy
- HibernateReadOnlyAccessStrategy
- HibernateReadWriteAccessStrategy
- HibernateTransactionalAccessStrategy

Alternative solution: Hibernate 5.3 is not yet released so we could move 
implementation for the newest version to its own subpackage. Formally it would 
not be a breaking change.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to