java.lang.Object
io.hypersistence.optimizer.core.event.AbstractEvent
io.hypersistence.optimizer.hibernate.event.configuration.connection.SkipAutoCommitCheckEvent
All Implemented Interfaces:
Event, Serializable

public class SkipAutoCommitCheckEvent extends AbstractEvent
The SkipAutoCommitCheckEvent indicates that the current application is using a PersistenceUnitTransactionType.RESOURCE_LOCAL transaction type, and it could skip the auto-commit check, which prevents the database transaction from being acquired lazily if the hibernate.connection.provider_disables_autocommit configuration property is set to true given that the underlying DataSource is also configured to call the Connection.setAutoCommit(boolean) method with a false parameter whenever a new Connection is being acquired.
Since:
1.1.0
Author:
Vlad Mihalcea
See Also: