Package org.hibernate.testing.orm.jdbc
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
ThisConnectionProviderextends 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeZoneConnectionProvider(String customTimeZone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstop()-
Methods inherited from class org.hibernate.testing.jdbc.ConnectionProviderDelegate
closeConnection, configure, getConnection, getConnectionProvider, injectServices, isUnwrappableAs, setConnectionProvider, supportsAggressiveRelease, unwrap
-
-
-
-
Constructor Detail
-
TimeZoneConnectionProvider
public TimeZoneConnectionProvider(String customTimeZone)
-
-
Method Detail
-
stop
public void stop()
- Specified by:
stopin interfaceorg.hibernate.service.spi.Stoppable- Overrides:
stopin classConnectionProviderDelegate
-
-