Skip to content

HHH-15086 Introduce configurable query cache layout #7543

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

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

beikov
Copy link
Member

@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.

@beikov beikov force-pushed the HHH-15086 branch 2 times, most recently from 8534062 to 46001c2 Compare January 8, 2024 09:03
);
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

Invoking [CollectionPersister.getKeyType](1) 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

Invoking [CollectionInitializerProducer.produceInitializer](1) 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

Invoking [DiscriminatedAssociationModelPart.getDiscriminatorPart](1) 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

Invoking [DiscriminatedAssociationModelPart.getDiscriminatorPart](1) 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

Invoking [EntityPersister.getPropertyType](1) 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

Invoking [JdbcValues.finishRowProcessing](1) 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

Invoking [RowProcessingState.finishRowProcessing](1) should be avoided because it has been deprecated.
@beikov beikov merged commit 7ef13e1 into hibernate:main Jan 26, 2024
@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