| Package | Description |
|---|---|
| org.hibernate |
This package defines the central Hibernate APIs.
|
| org.hibernate.context.spi |
SPI level contracts around "current session" support.
|
| org.hibernate.engine.spi | |
| org.hibernate.testing.transaction |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SessionBuilder<T extends SessionBuilder>
Represents a consolidation of all session creation options into a builder style delegate.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SharedSessionBuilder<T extends SharedSessionBuilder>
Specialized
SessionBuilder with access to stuff from another session. |
| Modifier and Type | Method and Description |
|---|---|
SessionBuilder |
SessionFactory.withOptions()
Obtain a
Session builder. |
| Modifier and Type | Method and Description |
|---|---|
protected SessionBuilder |
AbstractCurrentSessionContext.baseSessionBuilder() |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDelegatingSessionBuilder<T extends SessionBuilder>
Base class for
SessionBuilder implementations that wish to implement only parts of that contract themselves
while forwarding other method invocations to a delegate instance. |
interface |
SessionBuilderImplementor<T extends SessionBuilder>
Defines the internal contract between the SessionBuilder and other parts of
Hibernate..
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SessionBuilderImplementor<T extends SessionBuilder>
Defines the internal contract between the SessionBuilder and other parts of
Hibernate..
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDelegatingSessionBuilder<T extends SessionBuilder>
Base class for
SessionBuilder implementations that wish to implement only parts of that contract themselves
while forwarding other method invocations to a delegate instance. |
class |
AbstractDelegatingSessionBuilderImplementor<T extends SessionBuilderImplementor>
Base class for
SessionBuilderImplementor implementations that wish to implement only parts of that contract
themselves while forwarding other method invocations to a delegate instance. |
class |
AbstractDelegatingSharedSessionBuilder<T extends SharedSessionBuilder>
Base class for
SharedSessionBuilder implementations that wish to implement only parts of that contract
themselves while forwarding other method invocations to a delegate instance. |
| Modifier and Type | Method and Description |
|---|---|
protected SessionBuilder |
AbstractDelegatingSessionBuilder.delegate() |
| Constructor and Description |
|---|
AbstractDelegatingSessionBuilder(SessionBuilder delegate) |
| Modifier and Type | Method and Description |
|---|---|
static void |
TransactionUtil.doInHibernateSessionBuilder(Supplier<SessionBuilder> sessionBuilderSupplier,
TransactionUtil.HibernateTransactionConsumer function)
Execute function in a Hibernate transaction without return value
|
static <T> T |
TransactionUtil.doInHibernateSessionBuilder(Supplier<SessionBuilder> sessionBuilderSupplier,
TransactionUtil.HibernateTransactionFunction<T> function)
Execute function in a Hibernate transaction
|
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.