HHH-16353 Convert comments to Javadoc for Hibernate Reactive

So they get moved with any refactoring
This commit is contained in:
Davide D'Alto 2023-03-22 16:26:12 +01:00 committed by Davide D'Alto
parent f28933a0cc
commit 07e0a7aaa4
14 changed files with 90 additions and 29 deletions

View File

@ -27,7 +27,9 @@ public abstract class AbstractAttributeMapping implements AttributeMapping {
this.declaringType = declaringType;
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected AbstractAttributeMapping(AbstractAttributeMapping original) {
this( original.name, original.fetchableIndex, original.declaringType );
}

View File

@ -84,7 +84,9 @@ public abstract class AbstractEntityCollectionPart implements EntityCollectionPa
);
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected AbstractEntityCollectionPart(AbstractEntityCollectionPart original) {
this.navigableRole = original.navigableRole;
this.nature = original.nature;
@ -220,7 +222,9 @@ public abstract class AbstractEntityCollectionPart implements EntityCollectionPa
return fetch;
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected EagerCollectionFetch buildEagerCollectionFetch(
NavigablePath fetchedPath,
PluralAttributeMapping fetchedAttribute,
@ -236,7 +240,9 @@ public abstract class AbstractEntityCollectionPart implements EntityCollectionPa
);
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected EntityFetch buildEntityFetchJoined(
FetchParent fetchParent,
AbstractEntityCollectionPart abstractEntityCollectionPart,

View File

@ -49,7 +49,9 @@ public abstract class AbstractSingularAttributeMapping
this.propertyAccess = propertyAccess;
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected AbstractSingularAttributeMapping( AbstractSingularAttributeMapping original ) {
super( original );
this.propertyAccess = original.propertyAccess;

View File

@ -57,7 +57,9 @@ public abstract class AbstractStateArrayContributorMapping
);
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected AbstractStateArrayContributorMapping(AbstractStateArrayContributorMapping original) {
super( original );
this.attributeMetadata = original.attributeMetadata;

View File

@ -446,6 +446,9 @@ public class MappingModelCreationHelper {
);
}
/**
* For Hibernate Reactive
*/
@SuppressWarnings("rawtypes")
public static PluralAttributeMapping buildPluralAttributeMapping(
String attrName,
@ -457,7 +460,6 @@ public class MappingModelCreationHelper {
CascadeStyle cascadeStyle,
FetchMode fetchMode,
MappingModelCreationProcess creationProcess,
// For Hibernate Reactive
Function<PluralAttributeMappingImpl, PluralAttributeMappingImpl> mappingConverter) {
final Collection bootValueMapping = (Collection) bootProperty.getValue();
@ -1583,7 +1585,9 @@ public class MappingModelCreationHelper {
}
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
public static ToOneAttributeMapping buildSingularAssociationAttributeMapping(
String attrName,
NavigableRole navigableRole,

View File

@ -73,6 +73,9 @@ public class OneToManyCollectionPart extends AbstractEntityCollectionPart implem
}
}
/**
* For Hibernate Reactive
*/
protected OneToManyCollectionPart(OneToManyCollectionPart original) {
super( original );
this.mapKeyPropertyName = original.mapKeyPropertyName;

View File

@ -193,7 +193,9 @@ public class PluralAttributeMappingImpl
injectAttributeMapping( elementDescriptor, indexDescriptor, collectionDescriptor, this );
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected PluralAttributeMappingImpl(PluralAttributeMappingImpl original) {
super( original );
this.propertyAccess = original.propertyAccess;
@ -476,7 +478,9 @@ public class PluralAttributeMappingImpl
}
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected Fetch buildDelayedCollectionFetch(
NavigablePath fetchedPath,
PluralAttributeMapping fetchedAttribute,
@ -485,7 +489,9 @@ public class PluralAttributeMappingImpl
return new DelayedCollectionFetch( fetchedPath, fetchedAttribute, fetchParent, collectionKeyResult );
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected Fetch buildSelectEagerCollectionFetch(
NavigablePath fetchedPath,
PluralAttributeMapping fetchedAttribute,
@ -494,7 +500,9 @@ public class PluralAttributeMappingImpl
return new SelectEagerCollectionFetch( fetchedPath, fetchedAttribute, collectionKeyDomainResult, fetchParent );
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected Fetch buildEagerCollectionFetch(
NavigablePath fetchedPath,
PluralAttributeMapping fetchedAttribute,

View File

@ -157,7 +157,9 @@ public class ToOneAttributeMapping
private String identifyingColumnsTableExpression;
private boolean canUseParentTableGroup;
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected ToOneAttributeMapping(ToOneAttributeMapping original) {
super( original );
navigableRole = original.navigableRole;
@ -1233,7 +1235,9 @@ public class ToOneAttributeMapping
}
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected EntityFetch buildEntityDelayedFetch(
FetchParent fetchParent,
ToOneAttributeMapping fetchedAttribute,
@ -1243,7 +1247,9 @@ public class ToOneAttributeMapping
return new EntityDelayedFetchImpl( fetchParent, fetchedAttribute, navigablePath, keyResult, selectByUniqueKey );
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected EntityFetch buildEntityFetchSelect(
FetchParent fetchParent,
ToOneAttributeMapping fetchedAttribute,
@ -1261,7 +1267,9 @@ public class ToOneAttributeMapping
);
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected EntityFetch buildEntityFetchJoined(
FetchParent fetchParent,
ToOneAttributeMapping toOneMapping,

View File

@ -1011,13 +1011,17 @@ public abstract class AbstractEntityPersister
return rowIdName != null;
}
//used by Hibernate Reactive
/**
* For Hibernate Reactive
*/
@SuppressWarnings("unused")
public boolean[][] getPropertyColumnUpdateable() {
return propertyColumnUpdateable;
}
//used by Hibernate Reactive
/**
* For Hibernate Reactive
*/
@SuppressWarnings("unused")
public boolean[][] getPropertyColumnInsertable() {
return propertyColumnInsertable;
@ -1580,7 +1584,9 @@ public abstract class AbstractEntityPersister
return result;
}
// called by Hibernate Reactive
/**
* Called by Hibernate Reactive
*/
protected boolean initializeLazyProperty(
final String fieldName,
final Object entity,
@ -2557,7 +2563,9 @@ public abstract class AbstractEntityPersister
}
// used by Hibernate Reactive
/**
* Called by Hibernate Reactive
*/
@SuppressWarnings("unused")
protected String[][] getLazyPropertyColumnAliases() {
return lazyPropertyColumnAliases;
@ -5470,7 +5478,9 @@ public abstract class AbstractEntityPersister
return null;
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected EmbeddedAttributeMapping buildEmbeddedAttributeMapping(
String attrName,
int stateArrayPosition,
@ -5502,7 +5512,9 @@ public abstract class AbstractEntityPersister
);
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected AttributeMapping buildSingularAssociationAttributeMapping(
String attrName,
NavigableRole navigableRole,
@ -5530,7 +5542,9 @@ public abstract class AbstractEntityPersister
);
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected AttributeMapping buildPluralAttributeMapping(
String attrName,
int stateArrayPosition,

View File

@ -337,7 +337,9 @@ public class TableBasedInsertHandler implements InsertHandler {
);
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected ExecutionDelegate buildExecutionDelegate(
SqmInsertStatement<?> sqmInsert,
MultiTableSqmMutationConverter sqmConverter,

View File

@ -473,7 +473,9 @@ public class UpdateExecutionDelegate implements TableBasedUpdateHandler.Executio
return new SqlTuple( expressions, null );
}
// FOr Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected TemporaryTable getIdTable() {
return idTable;

View File

@ -75,7 +75,9 @@ public class EmbeddableFetchImpl extends AbstractFetchParent implements Embeddab
afterInitialize( this, creationState );
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected EmbeddableFetchImpl(EmbeddableFetchImpl original) {
super( original.getFetchContainer(), original.getNavigablePath() );
fetchParent = original.fetchParent;

View File

@ -79,7 +79,9 @@ public class EntityFetchJoinedImpl extends AbstractNonLazyEntityFetch {
this.entityResult.afterInitialize( this, creationState );
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected EntityFetchJoinedImpl(EntityFetchJoinedImpl original ) {
super( original.getFetchParent(), original.getReferencedModePart(), original.getNavigablePath() );
this.entityResult = original.entityResult;
@ -109,7 +111,9 @@ public class EntityFetchJoinedImpl extends AbstractNonLazyEntityFetch {
).asEntityInitializer();
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected Initializer buildEntityJoinedFetchInitializer(
EntityResultGraphNode resultDescriptor,
EntityValuedFetchable referencedFetchable,

View File

@ -41,7 +41,9 @@ public class EntityFetchSelectImpl extends AbstractNonJoinedEntityFetch {
}
// For Hibernate Reactive
/**
* For Hibernate Reactive
*/
protected EntityFetchSelectImpl(EntityFetchSelectImpl original) {
super( original.getNavigablePath(), original.getFetchedMapping(), original.getFetchParent() );
this.keyResult = original.keyResult;