Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HHH-15086 Introduce configurable query cache layout #7543

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

beikov
Copy link
Contributor

@beikov beikov commented Nov 14, 2023

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodeQL found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Nov 16, 2023

Thanks for your pull request!

This pull request appears to follow the contribution rules.

› This message was automatically generated.

);
final CollectionPersister persister = collectionAttributeMapping.getCollectionDescriptor();
// Try to reuse the previous collection key and collection if possible
if ( oldKey != null && persister.getKeyType().isEqual( oldKey.getKey(), collectionKeyValue ) ) {

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
CollectionPersister.getKeyType
should be avoided because it has been deprecated.
Comment on lines +90 to +98
return produceInitializer(
navigablePath,
attribute,
parentAccess,
lockMode,
collectionKeyAssembler,
collectionValueKeyAssembler,
creationState
);

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
CollectionInitializerProducer.produceInitializer
should be avoided because it has been deprecated.
this.fetches = creationState.visitFetches( this );
assert fetches.size() == 2;

discriminatorValueFetch = fetches.get( graphedPart.getDiscriminatorPart() );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
DiscriminatedAssociationModelPart.getDiscriminatorPart
should be avoided because it has been deprecated.

@Override
public Fetch findFetch(Fetchable fetchable) {
if ( graphedPart.getDiscriminatorPart() == fetchable ) {

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
DiscriminatedAssociationModelPart.getDiscriminatorPart
should be avoided because it has been deprecated.
getConcreteDescriptor().getEntityName(),
uniqueKeyAttributePath,
rowProcessingState.getEntityUniqueKey(),
getConcreteDescriptor().getPropertyType( uniqueKeyAttributePath ),

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
EntityPersister.getPropertyType
should be avoided because it has been deprecated.
void finishRowProcessing(RowProcessingState rowProcessingState);

default void finishRowProcessing(RowProcessingState rowProcessingState, boolean wasAdded) {
finishRowProcessing( rowProcessingState );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
JdbcValues.finishRowProcessing
should be avoided because it has been deprecated.
* Callback at the end of processing the current "row"
*/
default void finishRowProcessing(boolean wasAdded) {
finishRowProcessing();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
RowProcessingState.finishRowProcessing
should be avoided because it has been deprecated.
@beikov beikov merged commit 7ef13e1 into hibernate:main Jan 26, 2024
24 checks passed
@beikov beikov deleted the HHH-15086 branch May 22, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant