Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@
/**
* @author Andrea Boriero
*/
class ExceptionConverterImpl implements ExceptionConverter {
// Extended by Hibernate Reactive
public class ExceptionConverterImpl implements ExceptionConverter {

private final SharedSessionContractImplementor session;
private final boolean isJpaBootstrap;

ExceptionConverterImpl(SharedSessionContractImplementor session) {
public ExceptionConverterImpl(SharedSessionContractImplementor session) {
this.session = session;
isJpaBootstrap = session.getFactory().getSessionFactoryOptions().isJpaBootstrap();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@
* @author Steve Ebersole
* @author Chris Cranford
*/
class SessionFactoryImpl implements SessionFactoryImplementor {
// Extended by Hibernate Reactive
public class SessionFactoryImpl implements SessionFactoryImplementor {

private final String name;
private final String jndiName;
Expand Down Expand Up @@ -205,7 +206,7 @@ class SessionFactoryImpl implements SessionFactoryImplementor {
final transient ParameterMarkerStrategy parameterMarkerStrategy;
final transient JdbcValuesMappingProducerProvider jdbcValuesMappingProducerProvider;

SessionFactoryImpl(
public SessionFactoryImpl(
final MetadataImplementor bootMetamodel,
final SessionFactoryOptions options,
final BootstrapContext bootstrapContext) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@
* @author Chris Cranford
* @author Sanne Grinovero
*/
class SessionImpl
// Extended by Hibernate Reactive
public class SessionImpl
extends AbstractSharedSessionContract
implements Serializable, SharedSessionContractImplementor, JdbcSessionOwner, SessionImplementor, EventSource,
TransactionCoordinatorBuilder.Options, WrapperOptions, LoadAccessContext {
Expand Down Expand Up @@ -181,7 +182,7 @@ class SessionImpl

private transient TransactionObserver transactionObserver;

SessionImpl(SessionFactoryImpl factory, SessionCreationOptions options) {
public SessionImpl(SessionFactoryImpl factory, SessionCreationOptions options) {
super( factory, options );

final var sessionOpenEvent = getEventMonitor().beginSessionOpenEvent();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@
* @author Gavin King
* @author Steve Ebersole
*/
class StatelessSessionImpl extends AbstractSharedSessionContract implements StatelessSessionImplementor {
// Extended by Hibernate Reactive
public class StatelessSessionImpl extends AbstractSharedSessionContract implements StatelessSessionImplementor {

public static final MultiIdLoadOptions MULTI_ID_LOAD_OPTIONS = new MultiLoadOptions();

Expand All @@ -128,7 +129,7 @@ class StatelessSessionImpl extends AbstractSharedSessionContract implements Stat
private final FlushMode flushMode;
private final EventListenerGroups eventListenerGroups;

StatelessSessionImpl(SessionFactoryImpl factory, SessionCreationOptions options) {
public StatelessSessionImpl(SessionFactoryImpl factory, SessionCreationOptions options) {
super( factory, options );
connectionProvided = options.getConnection() != null;
if ( options instanceof SharedSessionCreationOptions sharedOptions
Expand Down
Loading