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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hibernate.engine.jdbc.spi.SqlStatementLogger
     

    Methods inherited from class org.hibernate.engine.jdbc.internal.JdbcServicesImpl

    configure, getBootstrapJdbcConnectionAccess, getDialect, getExtractedMetaDataSupport, getJdbcEnvironment, getLobCreator, getParameterMarkerStrategy, getSqlExceptionHelper, injectServices

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.engine.jdbc.spi.JdbcServices

    getJdbcMutationExecutor, getJdbcSelectExecutor
  • Constructor Details

    • LifecycleAwareJDBCServices

      public LifecycleAwareJDBCServices()
  • Method Details

    • getSqlStatementLogger

      public org.hibernate.engine.jdbc.spi.SqlStatementLogger getSqlStatementLogger()
      Specified by:
      getSqlStatementLogger in interface org.hibernate.engine.jdbc.spi.JdbcServices
      Overrides:
      getSqlStatementLogger in class org.hibernate.engine.jdbc.internal.JdbcServicesImpl