public static class TopiaUtil.ConnectionProviderSupplier extends Object implements com.google.common.base.Supplier<org.hibernate.engine.jdbc.connections.spi.ConnectionProvider>, Closeable
Modifier and Type | Field and Description |
---|---|
protected org.hibernate.engine.jdbc.connections.spi.ConnectionProvider |
connectionProvider |
protected boolean |
embeddedRegistry |
protected org.hibernate.boot.registry.StandardServiceRegistry |
standardServiceRegistry
StandardServiceRegistry will be used if no SessionFactory is provided
|
Constructor and Description |
---|
ConnectionProviderSupplier(Properties properties) |
ConnectionProviderSupplier(TopiaContextImplementor topiaContextImplementor) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.hibernate.engine.jdbc.connections.spi.ConnectionProvider |
get() |
protected org.hibernate.boot.registry.StandardServiceRegistry standardServiceRegistry
protected org.hibernate.engine.jdbc.connections.spi.ConnectionProvider connectionProvider
protected boolean embeddedRegistry
public ConnectionProviderSupplier(TopiaContextImplementor topiaContextImplementor) throws TopiaNotFoundException
TopiaNotFoundException
public ConnectionProviderSupplier(Properties properties)
public org.hibernate.engine.jdbc.connections.spi.ConnectionProvider get()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2004–2022 Code Lutin. All rights reserved.