Skip to content

Conversation

@beikov
Copy link
Member

@beikov beikov commented Nov 14, 2024

[Please describe here what your change is about]


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-16160
https://hibernate.atlassian.net/browse/HHH-18799
https://hibernate.atlassian.net/browse/HHH-18800
https://hibernate.atlassian.net/browse/HHH-18801
https://hibernate.atlassian.net/browse/HHH-18802
https://hibernate.atlassian.net/browse/HHH-18803
https://hibernate.atlassian.net/browse/HHH-18804

// The end is the start angle bracket for the end tag
assert string.charAt( end ) == '<';
assert string.charAt( end + 1 ) == '/';
assert string.regionMatches( end + 2, tagName, 0, tagName.length() );

Check warning

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
tagName
may be null at this access because of
this
assignment.
Variable
tagName
may be null at this access because of
this
assignment.
// The end is the start angle bracket for the end tag
assert string.charAt( end ) == '<';
assert string.charAt( end + 1 ) == '/';
assert string.regionMatches( end + 2, tagName, 0, tagName.length() );

Check warning

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
tagName
may be null at this access because of
this
assignment.
Variable
tagName
may be null at this access because of
this
assignment.
final StringBuilder sb = new StringBuilder();
sb.append( START_TAG );
toString( embeddableMappingType, value, options, new XMLAppender( sb ) );
toString( embeddableMappingType, embeddableMappingType.getValues( value ), options, new XMLAppender( sb ) );

Check warning

Code scanning / CodeQL

Potential output resource leak Warning

This XMLAppender is not always closed on method exit.
return EMPTY_COLLECTION_TAG;
}
final StringBuilder sb = new StringBuilder();
final XMLAppender xmlAppender = new XMLAppender( sb );

Check warning

Code scanning / CodeQL

Potential output resource leak Warning

This XMLAppender is not always closed on method exit.
}

public static class SupportsXmlComponentUpdate implements DialectFeatureCheck {
public boolean apply(Dialect dialect) {

Check notice

Code scanning / CodeQL

Missing Override annotation Note test

This method overrides
DialectFeatureCheck.apply
; it is advisable to add an Override annotation.
@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Nov 15, 2024

Thanks for your pull request!

This pull request appears to follow the contribution rules.

› This message was automatically generated.

@beikov beikov added the hana label Nov 15, 2024
@beikov beikov force-pushed the HHH-16160 branch 3 times, most recently from 708d899 to 244ae8e Compare November 20, 2024 12:02
}
}

protected void renderXmlTable(

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
UnnestFunction.renderXmlTable
; it is advisable to add an Override annotation.
@beikov beikov force-pushed the HHH-16160 branch 3 times, most recently from 1959fab to 478eef0 Compare November 21, 2024 14:48
@beikov beikov merged commit 9de9afe into hibernate:main Nov 22, 2024
25 of 26 checks passed
@beikov beikov deleted the HHH-16160 branch November 22, 2024 10:18
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