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
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()Stop phase notification-
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()
Description copied from interface:StoppableStop phase notification- Specified by:
stopin interfaceStoppable- Overrides:
stopin classConnectionProviderDelegate
-
-