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
,ConnectionProvider
,Service
,Configurable
,ServiceRegistryAwareService
,Stoppable
,Wrapped
public class TimeZoneConnectionProvider extends ConnectionProviderDelegate
ThisConnectionProvider
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeZoneConnectionProvider(String customTimeZone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
stop()
Stop phase notification-
Methods inherited from class org.hibernate.testing.jdbc.ConnectionProviderDelegate
closeConnection, configure, getConnection, getConnectionProvider, getDatabaseConnectionInfo, injectServices, isUnwrappableAs, setConnectionProvider, supportsAggressiveRelease, unwrap
-
-
-
-
Constructor Detail
-
TimeZoneConnectionProvider
public TimeZoneConnectionProvider(String customTimeZone)
-
-
Method Detail
-
stop
public void stop()
Description copied from interface:Stoppable
Stop phase notification- Specified by:
stop
in interfaceStoppable
- Overrides:
stop
in classConnectionProviderDelegate
-
-