-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
HHH-16160 XML aggregate support for more databases #9256
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
Conversation
| // 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
tagName
this
Variable
tagName
this
| // 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
tagName
this
Variable
tagName
this
| 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
| 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
hibernate-core/src/main/java/org/hibernate/dialect/XmlHelper.java
Dismissed
Show dismissed
Hide dismissed
| } | ||
|
|
||
| public static class SupportsXmlComponentUpdate implements DialectFeatureCheck { | ||
| public boolean apply(Dialect dialect) { |
Check notice
Code scanning / CodeQL
Missing Override annotation Note test
DialectFeatureCheck.apply
|
Thanks for your pull request! This pull request appears to follow the contribution rules. › This message was automatically generated. |
708d899 to
244ae8e
Compare
1959fab to
478eef0
Compare
[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