Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11461 Automatic modules support for Apache Ignite: find and resolve packages conflicts
  3. IGNITE-11485

Support Automatic modules for ignite-hibernate: Package interference with hibernate core and hibernate for particular verion

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Docs Required

    Description

      Hibernate 5.3:

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

      Hibernate 5.1:

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

      Hibernate 4.2:

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

      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.

      https://apacheignite-mix.readme.io/docs/hibernate-l2-cache

      Attachments

        Activity

          People

            Unassigned Unassigned
            dpavlov Dmitry Pavlov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: