Class BasicTestingJdbcServiceImpl

  • All Implemented Interfaces:
    Serializable, org.hibernate.engine.jdbc.spi.JdbcServices, org.hibernate.service.Service, org.hibernate.service.spi.ServiceRegistryAwareService

    public class BasicTestingJdbcServiceImpl
    extends Object
    implements org.hibernate.engine.jdbc.spi.JdbcServices, org.hibernate.service.spi.ServiceRegistryAwareService
    Implementation of the JdbcServices contract for use by tests.

    An alternative approach is to build a ServiceRegistryTestingImpl and grab the JdbcServices from that.

    See Also:
    Serialized Form
    • Constructor Detail

      • BasicTestingJdbcServiceImpl

        public BasicTestingJdbcServiceImpl()
    • Method Detail

      • start

        public void start()
      • stop

        public void stop()
      • release

        public void release()
      • getJdbcEnvironment

        public org.hibernate.engine.jdbc.env.spi.JdbcEnvironment getJdbcEnvironment()
        Specified by:
        getJdbcEnvironment in interface org.hibernate.engine.jdbc.spi.JdbcServices
      • getBootstrapJdbcConnectionAccess

        public org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess getBootstrapJdbcConnectionAccess()
        Specified by:
        getBootstrapJdbcConnectionAccess in interface org.hibernate.engine.jdbc.spi.JdbcServices
      • getDialect

        public org.hibernate.dialect.Dialect getDialect()
        Specified by:
        getDialect in interface org.hibernate.engine.jdbc.spi.JdbcServices
      • getLobCreator

        public org.hibernate.engine.jdbc.LobCreator getLobCreator​(org.hibernate.engine.jdbc.LobCreationContext lobCreationContext)
        Specified by:
        getLobCreator in interface org.hibernate.engine.jdbc.spi.JdbcServices
      • getResultSetWrapper

        public org.hibernate.engine.jdbc.spi.ResultSetWrapper getResultSetWrapper()
        Specified by:
        getResultSetWrapper in interface org.hibernate.engine.jdbc.spi.JdbcServices
      • getSqlStatementLogger

        public org.hibernate.engine.jdbc.spi.SqlStatementLogger getSqlStatementLogger()
        Specified by:
        getSqlStatementLogger in interface org.hibernate.engine.jdbc.spi.JdbcServices
      • getSqlExceptionHelper

        public org.hibernate.engine.jdbc.spi.SqlExceptionHelper getSqlExceptionHelper()
        Specified by:
        getSqlExceptionHelper in interface org.hibernate.engine.jdbc.spi.JdbcServices
      • getExtractedMetaDataSupport

        public org.hibernate.engine.jdbc.env.spi.ExtractedDatabaseMetaData getExtractedMetaDataSupport()
        Specified by:
        getExtractedMetaDataSupport in interface org.hibernate.engine.jdbc.spi.JdbcServices
      • injectServices

        public void injectServices​(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistry)
        Specified by:
        injectServices in interface org.hibernate.service.spi.ServiceRegistryAwareService