public class HibernateObserver
A vault observer that extracts Object Relational Mappings for contract states that support it, and persists them with Hibernate.
Modifier and Type | Class and Description |
---|---|
static class |
HibernateObserver.Companion |
static class |
HibernateObserver.NodeDatabaseConnectionProvider |
Modifier and Type | Field and Description |
---|---|
static HibernateObserver.Companion |
Companion |
Constructor and Description |
---|
HibernateObserver(ServiceHubInternal services)
A vault observer that extracts Object Relational Mappings for contract states that support it, and persists them with Hibernate.
|
Modifier and Type | Method and Description |
---|---|
SchemaService |
getSchemaService() |
java.util.concurrent.ConcurrentHashMap<net.corda.core.schemas.MappedSchema,org.hibernate.SessionFactory> |
getSessionFactories() |
public static HibernateObserver.Companion Companion
public HibernateObserver(ServiceHubInternal services)
A vault observer that extracts Object Relational Mappings for contract states that support it, and persists them with Hibernate.
public SchemaService getSchemaService()
public java.util.concurrent.ConcurrentHashMap<net.corda.core.schemas.MappedSchema,org.hibernate.SessionFactory> getSessionFactories()