Class LifecycleAwareJDBCServices
java.lang.Object
org.hibernate.engine.jdbc.internal.JdbcServicesImpl
org.broadleafcommerce.common.persistence.transaction.LifecycleAwareJDBCServices
- All Implemented Interfaces:
Serializable,org.hibernate.engine.jdbc.spi.JdbcServices,org.hibernate.service.Service,org.hibernate.service.spi.Configurable,org.hibernate.service.spi.ServiceRegistryAwareService
public class LifecycleAwareJDBCServices
extends org.hibernate.engine.jdbc.internal.JdbcServicesImpl
A customization of
JdbcServicesImpl that allows further usage of the sql statement logging. This is useful
for tracking all sql executed during the lifecycle of a transaction.- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.engine.jdbc.spi.SqlStatementLoggerMethods inherited from class org.hibernate.engine.jdbc.internal.JdbcServicesImpl
configure, getBootstrapJdbcConnectionAccess, getDialect, getExtractedMetaDataSupport, getJdbcEnvironment, getLobCreator, getResultSetWrapper, getSqlExceptionHelper, injectServices
-
Constructor Details
-
LifecycleAwareJDBCServices
public LifecycleAwareJDBCServices()
-
-
Method Details
-
getSqlStatementLogger
public org.hibernate.engine.jdbc.spi.SqlStatementLogger getSqlStatementLogger()- Specified by:
getSqlStatementLoggerin interfaceorg.hibernate.engine.jdbc.spi.JdbcServices- Overrides:
getSqlStatementLoggerin classorg.hibernate.engine.jdbc.internal.JdbcServicesImpl
-