• Create new changelog
  • Log into your team

Hypersistence Optimizer release notes
Hypersistence Optimizer release notes
vladmihalcea.com/hypersistence-optimizer

2.3.0

Minor

  • Embed META-INF/services and activate the SessionFactory decoration automatically enhancement
  • A TransactionRequiredException is thrown when setting a Spring AsyncTaskExecutor on the LocalSessionFactoryBean documentation
  • Check if a transaction doesn't execute any SQL statement enhancement
  • Check if @LazyToOne(LazyToOneOption.NO_PROXY) is set for parent-side OneToOne associations when using enableLazyInitialization bytecode enhancement enhancement
  • Skip the "No issue was found" message when all scanners are disabled enhancement
  • Check if the Persistence Context executes multiple SQL statements in auto-commit mode enhancement
  • Check if the Connection is set to the auto-commit mode enhancement
  • Change the Archiva command from archive to archiva in the Installation Guide documentation

2.2.0

Minor

  • Check if the JPA or Hibernate Query returns a List with more than 100 elements
  • Check if the Hibernate Query iterate method returns an Iterator with more than 100 elements
  • Add time monitoring for the execution of the JPA EntityManager and Hibernate Session flush method
  • Check if the ValidityAuditStrategy is used with Hibernate Envers
  • LargeColumnEvent should not be thrown if the field can be fetched lazily
  • Fix the "Not an entity" IllegalArgumentException issue caused by not passing the entity name when calling Session#contains
  • Add a section in the Installation Guide about using Apache Archiva for sharing the project artifacts
  • Add Apache Archiva deploy scripts

2.1.1

Patch

Add a Java 6 shaded dependency for projects still using Java 6 or 7

Add support for unwrapping the SessionFactory from the EntityManagerFactory and decorate the JPA EntityManagerFactory when using JBoss 5 and JPA 1.0

Locate the add/remove bidirectional synchronization methods in the entity superclasses

Update the Play Framework configuration to get the decorated SessionFactory reference

2.1.0

Minor

Check if collection associations are initialized by default

Verify whether AFTER_STATEMENT connection release is used with RESOURCE LOCAL transactions

Detect if merge, save, saveOrUpdate, or update are called on an entity that's already managed

Check if a Session executes for more than 3 seconds

Add more explanations in the README file

Add the entityClass property in the EntityMappingEvent to store the entity class that triggered the event

Trigger the EagerFetchingEvent for associations that don't set lazy="true" in HBM mappings

Add both Java-based and XML configuration examples for the Spring 4 and 3 installation guide sections

A "could not resolve the suggested Dialect" exception is thrown when using Quarkus

2.0.2

Patch

Adjust the Installation and User Guides according to their online versions documentation

ManyToMany associations are not properly discovered when using legacy HBM files bug

2.0.1

Patch

Prevent a NullPointerException in the ConfigurationScanner if the ConnectionProvider cannot be located

Verify if the query return types array is null in the checkDistinct method

Guard runtime checks against possible exceptions that may be thrown

2.0.0

Major

Detect if an entity query uses DISTINCT without the DISTINCT_PASS_THROUGH JPA query hint set to false enhancement

Check if the Hibernate legacy FlushMode.AUTO is in use enhancement

Check if a query uses pagination without an ORDER BY clause enhancement

The configuration should allow enabling/disabling scanners enhancement

Make ListEventHandler thread-safe

Add the getEvents() method in HypersistenceOptimizer enhancement

Move the init logic in the HypersistenceOptimizer constructor enhancement

Add the Installation Guide and User Guide in a docs folder inside the packed assembly enhancement

1.3.0

Minor

Add support for verifying addChild and removeChild bidirectional association synchronization methods enhancement

Add IdentityGeneratorEvent to differentiate between different types of PostInsertGeneratorEvent(s)

Add the issue count report at the end of scanning the mappings and configurations

Fix typos in Event messages

Make the SLF4J dependency optional and allow the logging configuration to fallback to JBoss Logging or Java Util Logging

Add SQL Server testing support and validate the JDBC fetch size setting

Add getters to all Event types containing additional properties

Use ChainEventHandler by default and add a new addHandler method

Print banner using a single logging call

1.2.3

Patch

Check if a given Hibernate 5.1 feature is supported prior to using it

Hibernate 4.2 should use a different class matching pattern

Check if a given Hibernate 4.1 feature is supported prior to using it

Not all Hibernate 3.5 versions support LegacyHiLoAlgorithmOptimizer

Hibernate 3.3 does not support EnumType

1.2.2

Patch

Allow the license file to be read from a given URL resource

The InputStream used for reading the license needs better resource handling

Show previous release notes

Powered by Headway