Class TimeZoneConnectionProvider

java.lang.Object
org.hibernate.testing.jdbc.ConnectionProviderDelegate
org.hibernate.testing.orm.jdbc.TimeZoneConnectionProvider
All Implemented Interfaces:
Serializable, org.hibernate.engine.jdbc.connections.spi.ConnectionProvider, org.hibernate.service.Service, org.hibernate.service.spi.Configurable, org.hibernate.service.spi.ServiceRegistryAwareService, org.hibernate.service.spi.Stoppable, org.hibernate.service.spi.Wrapped

public class TimeZoneConnectionProvider extends ConnectionProviderDelegate
This ConnectionProvider extends any other ConnectionProvider that would be used by default taken the current configuration properties, and it just sets a default TimeZone which is different than the current default one.
See Also:
  • Constructor Details

    • TimeZoneConnectionProvider

      public TimeZoneConnectionProvider(String customTimeZone)
  • Method Details

    • stop

      public void stop()
      Specified by:
      stop in interface org.hibernate.service.spi.Stoppable
      Overrides:
      stop in class ConnectionProviderDelegate