Binary compatibility report for the dropwizard-hibernate library between 3.0.10 and 4.0.0 versions
Test Info
Library Name | dropwizard-hibernate |
Version #1 | 3.0.10 |
Version #2 | 4.0.0 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 135 / 13 |
Compatibility |
78.4% |
Problem Summary
| Severity | Count |
Added Methods | - | 19 |
Removed Methods | High | 25 |
Problems with Data Types | High | 0 |
Medium | 0 |
Low | 0 |
Problems with Methods | High | 8 |
Medium | 0 |
Low | 0 |
Added Methods 19
dropwizard-hibernate-4.0.0.jar, AbstractDAO.class
package io.dropwizard.hibernate
AbstractDAO<E>.criteriaQuery ( ) : CriteriaQuery<E>
io/dropwizard/hibernate/AbstractDAO.criteriaQuery:()Ljakarta/persistence/criteria/CriteriaQuery;
AbstractDAO<E>.get ( Object id ) : E
io/dropwizard/hibernate/AbstractDAO.get:(Ljava/lang/Object;)Ljava/lang/Object;
AbstractDAO<E>.list ( CriteriaQuery<E> criteria ) : List<E>
io/dropwizard/hibernate/AbstractDAO.list:(Ljakarta/persistence/criteria/CriteriaQuery;)Ljava/util/List;
AbstractDAO<E>.uniqueResult ( CriteriaQuery<E> criteriaQuery ) : E
io/dropwizard/hibernate/AbstractDAO.uniqueResult:(Ljakarta/persistence/criteria/CriteriaQuery;)Ljava/lang/Object;
dropwizard-hibernate-4.0.0.jar, DualSessionFactory.class
package io.dropwizard.hibernate.dual
DualSessionFactory.addNamedEntityGraph ( String graphName, EntityGraph<T> entityGraph ) : void
io/dropwizard/hibernate/dual/DualSessionFactory.addNamedEntityGraph:(Ljava/lang/String;Ljakarta/persistence/EntityGraph;)V
DualSessionFactory.addNamedQuery ( String name, Query query ) : void
io/dropwizard/hibernate/dual/DualSessionFactory.addNamedQuery:(Ljava/lang/String;Ljakarta/persistence/Query;)V
DualSessionFactory.createEntityManager ( ) : EntityManager
io/dropwizard/hibernate/dual/DualSessionFactory.createEntityManager:()Ljakarta/persistence/EntityManager;
DualSessionFactory.createEntityManager ( Map map ) : EntityManager
io/dropwizard/hibernate/dual/DualSessionFactory.createEntityManager:(Ljava/util/Map;)Ljakarta/persistence/EntityManager;
DualSessionFactory.createEntityManager ( SynchronizationType synchronizationType ) : EntityManager
io/dropwizard/hibernate/dual/DualSessionFactory.createEntityManager:(Ljakarta/persistence/SynchronizationType;)Ljakarta/persistence/EntityManager;
DualSessionFactory.createEntityManager ( SynchronizationType synchronizationType, Map map ) : EntityManager
io/dropwizard/hibernate/dual/DualSessionFactory.createEntityManager:(Ljakarta/persistence/SynchronizationType;Ljava/util/Map;)Ljakarta/persistence/EntityManager;
DualSessionFactory.fromSession ( Function<Session,R> action ) : R
io/dropwizard/hibernate/dual/DualSessionFactory.fromSession:(Ljava/util/function/Function;)Ljava/lang/Object;
DualSessionFactory.fromTransaction ( Function<Session,R> action ) : R
io/dropwizard/hibernate/dual/DualSessionFactory.fromTransaction:(Ljava/util/function/Function;)Ljava/lang/Object;
DualSessionFactory.getCache ( ) : Cache
io/dropwizard/hibernate/dual/DualSessionFactory.getCache:()Ljakarta/persistence/Cache;
DualSessionFactory.getCriteriaBuilder ( ) : CriteriaBuilder
io/dropwizard/hibernate/dual/DualSessionFactory.getCriteriaBuilder:()Ljakarta/persistence/criteria/CriteriaBuilder;
DualSessionFactory.getMetamodel ( ) : Metamodel
io/dropwizard/hibernate/dual/DualSessionFactory.getMetamodel:()Ljakarta/persistence/metamodel/Metamodel;
DualSessionFactory.getPersistenceUnitUtil ( ) : PersistenceUnitUtil
io/dropwizard/hibernate/dual/DualSessionFactory.getPersistenceUnitUtil:()Ljakarta/persistence/PersistenceUnitUtil;
DualSessionFactory.inSession ( Consumer<Session> action ) : void
io/dropwizard/hibernate/dual/DualSessionFactory.inSession:(Ljava/util/function/Consumer;)V
DualSessionFactory.inTransaction ( Consumer<Session> action ) : void
io/dropwizard/hibernate/dual/DualSessionFactory.inTransaction:(Ljava/util/function/Consumer;)V
dropwizard-hibernate-4.0.0.jar, HibernateBundle.class
package io.dropwizard.hibernate
HibernateBundle<T>.createHibernate5Module ( ) : Hibernate5JakartaModule
io/dropwizard/hibernate/HibernateBundle.createHibernate5Module:()Lcom/fasterxml/jackson/datatype/hibernate5/jakarta/Hibernate5JakartaModule;
to the top
Removed Methods 25
dropwizard-hibernate-3.0.10.jar, AbstractDAO.class
package io.dropwizard.hibernate
AbstractDAO<E>.criteria ( ) : Criteria *DEPRECATED*
io/dropwizard/hibernate/AbstractDAO.criteria:()Lorg/hibernate/Criteria;
AbstractDAO<E>.criteriaQuery ( ) : CriteriaQuery<E>
io/dropwizard/hibernate/AbstractDAO.criteriaQuery:()Ljavax/persistence/criteria/CriteriaQuery;
AbstractDAO<E>.get ( Serializable id ) : E
io/dropwizard/hibernate/AbstractDAO.get:(Ljava/io/Serializable;)Ljava/lang/Object;
AbstractDAO<E>.list ( Criteria criteria ) : List<E>
io/dropwizard/hibernate/AbstractDAO.list:(Lorg/hibernate/Criteria;)Ljava/util/List;
AbstractDAO<E>.list ( CriteriaQuery<E> criteria ) : List<E>
io/dropwizard/hibernate/AbstractDAO.list:(Ljavax/persistence/criteria/CriteriaQuery;)Ljava/util/List;
AbstractDAO<E>.uniqueResult ( Criteria criteria ) : E
io/dropwizard/hibernate/AbstractDAO.uniqueResult:(Lorg/hibernate/Criteria;)Ljava/lang/Object;
AbstractDAO<E>.uniqueResult ( CriteriaQuery<E> criteriaQuery ) : E
io/dropwizard/hibernate/AbstractDAO.uniqueResult:(Ljavax/persistence/criteria/CriteriaQuery;)Ljava/lang/Object;
dropwizard-hibernate-3.0.10.jar, DualSessionFactory.class
package io.dropwizard.hibernate.dual
DualSessionFactory.addNamedEntityGraph ( String graphName, EntityGraph<T> entityGraph ) : void
io/dropwizard/hibernate/dual/DualSessionFactory.addNamedEntityGraph:(Ljava/lang/String;Ljavax/persistence/EntityGraph;)V
DualSessionFactory.addNamedQuery ( String name, Query query ) : void
io/dropwizard/hibernate/dual/DualSessionFactory.addNamedQuery:(Ljava/lang/String;Ljavax/persistence/Query;)V
DualSessionFactory.createEntityManager ( ) : EntityManager
io/dropwizard/hibernate/dual/DualSessionFactory.createEntityManager:()Ljavax/persistence/EntityManager;
DualSessionFactory.createEntityManager ( Map map ) : EntityManager
io/dropwizard/hibernate/dual/DualSessionFactory.createEntityManager:(Ljava/util/Map;)Ljavax/persistence/EntityManager;
DualSessionFactory.createEntityManager ( SynchronizationType synchronizationType ) : EntityManager
io/dropwizard/hibernate/dual/DualSessionFactory.createEntityManager:(Ljavax/persistence/SynchronizationType;)Ljavax/persistence/EntityManager;
DualSessionFactory.createEntityManager ( SynchronizationType synchronizationType, Map map ) : EntityManager
io/dropwizard/hibernate/dual/DualSessionFactory.createEntityManager:(Ljavax/persistence/SynchronizationType;Ljava/util/Map;)Ljavax/persistence/EntityManager;
DualSessionFactory.getAllClassMetadata ( ) : Map<String,ClassMetadata>
io/dropwizard/hibernate/dual/DualSessionFactory.getAllClassMetadata:()Ljava/util/Map;
DualSessionFactory.getAllCollectionMetadata ( ) : Map
io/dropwizard/hibernate/dual/DualSessionFactory.getAllCollectionMetadata:()Ljava/util/Map;
DualSessionFactory.getCache ( ) : Cache
io/dropwizard/hibernate/dual/DualSessionFactory.getCache:()Ljavax/persistence/Cache;
DualSessionFactory.getClassMetadata ( Class entityClass ) : ClassMetadata
io/dropwizard/hibernate/dual/DualSessionFactory.getClassMetadata:(Ljava/lang/Class;)Lorg/hibernate/metadata/ClassMetadata;
DualSessionFactory.getClassMetadata ( String entityName ) : ClassMetadata
io/dropwizard/hibernate/dual/DualSessionFactory.getClassMetadata:(Ljava/lang/String;)Lorg/hibernate/metadata/ClassMetadata;
DualSessionFactory.getCollectionMetadata ( String roleName ) : CollectionMetadata
io/dropwizard/hibernate/dual/DualSessionFactory.getCollectionMetadata:(Ljava/lang/String;)Lorg/hibernate/metadata/CollectionMetadata;
DualSessionFactory.getCriteriaBuilder ( ) : CriteriaBuilder
io/dropwizard/hibernate/dual/DualSessionFactory.getCriteriaBuilder:()Ljavax/persistence/criteria/CriteriaBuilder;
DualSessionFactory.getMetamodel ( ) : Metamodel
io/dropwizard/hibernate/dual/DualSessionFactory.getMetamodel:()Ljavax/persistence/metamodel/Metamodel;
DualSessionFactory.getMetamodel ( ) : Metamodel
io/dropwizard/hibernate/dual/DualSessionFactory.getMetamodel:()Lorg/hibernate/Metamodel;
DualSessionFactory.getPersistenceUnitUtil ( ) : PersistenceUnitUtil
io/dropwizard/hibernate/dual/DualSessionFactory.getPersistenceUnitUtil:()Ljavax/persistence/PersistenceUnitUtil;
DualSessionFactory.getTypeHelper ( ) : TypeHelper
io/dropwizard/hibernate/dual/DualSessionFactory.getTypeHelper:()Lorg/hibernate/TypeHelper;
dropwizard-hibernate-3.0.10.jar, HibernateBundle.class
package io.dropwizard.hibernate
HibernateBundle<T>.createHibernate5Module ( ) : Hibernate5Module
io/dropwizard/hibernate/HibernateBundle.createHibernate5Module:()Lcom/fasterxml/jackson/datatype/hibernate5/Hibernate5Module;
to the top
Problems with Methods, High Severity 8
dropwizard-hibernate-3.0.10.jar, AbstractDAO.class
package io.dropwizard.hibernate
[+] AbstractDAO<E>.criteriaQuery ( ) : CriteriaQuery<E> 1
io/dropwizard/hibernate/AbstractDAO.criteriaQuery:()Ljavax/persistence/criteria/CriteriaQuery;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.persistence.criteria.CriteriaQuery<E> to jakarta.persistence.criteria.CriteriaQuery<E>. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
dropwizard-hibernate-3.0.10.jar, DualSessionFactory.class
package io.dropwizard.hibernate.dual
[+] DualSessionFactory.createEntityManager ( ) : EntityManager 1
io/dropwizard/hibernate/dual/DualSessionFactory.createEntityManager:()Ljavax/persistence/EntityManager;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.persistence.EntityManager to jakarta.persistence.EntityManager. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
[+] DualSessionFactory.createEntityManager ( Map map ) : EntityManager 1
io/dropwizard/hibernate/dual/DualSessionFactory.createEntityManager:(Ljava/util/Map;)Ljavax/persistence/EntityManager;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.persistence.EntityManager to jakarta.persistence.EntityManager. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
[+] DualSessionFactory.getCache ( ) : Cache 1
io/dropwizard/hibernate/dual/DualSessionFactory.getCache:()Ljavax/persistence/Cache;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.persistence.Cache to jakarta.persistence.Cache. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
[+] DualSessionFactory.getCriteriaBuilder ( ) : CriteriaBuilder 1
io/dropwizard/hibernate/dual/DualSessionFactory.getCriteriaBuilder:()Ljavax/persistence/criteria/CriteriaBuilder;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.persistence.criteria.CriteriaBuilder to jakarta.persistence.criteria.CriteriaBuilder. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
[+] DualSessionFactory.getMetamodel ( ) : Metamodel 1
io/dropwizard/hibernate/dual/DualSessionFactory.getMetamodel:()Ljavax/persistence/metamodel/Metamodel;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.persistence.metamodel.Metamodel to jakarta.persistence.metamodel.Metamodel. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
[+] DualSessionFactory.getPersistenceUnitUtil ( ) : PersistenceUnitUtil 1
io/dropwizard/hibernate/dual/DualSessionFactory.getPersistenceUnitUtil:()Ljavax/persistence/PersistenceUnitUtil;
| Change | Effect |
---|
1 |
Return value type has been changed from javax.persistence.PersistenceUnitUtil to jakarta.persistence.PersistenceUnitUtil. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
dropwizard-hibernate-3.0.10.jar, HibernateBundle.class
package io.dropwizard.hibernate
[+] HibernateBundle<T>.createHibernate5Module ( ) : Hibernate5Module 1
io/dropwizard/hibernate/HibernateBundle.createHibernate5Module:()Lcom/fasterxml/jackson/datatype/hibernate5/Hibernate5Module;
| Change | Effect |
---|
1 |
Return value type has been changed from com.fasterxml.jackson.datatype.hibernate5.Hibernate5Module to com.fasterxml.jackson.datatype.hibernate5.jakarta.Hibernate5JakartaModule. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
to the top
Java Archives 1
dropwizard-hibernate-3.0.10.jar
to the top