Skip to content

Conversation

@SweetWuXiaoMei
Copy link
Contributor

@SweetWuXiaoMei SweetWuXiaoMei commented Jul 8, 2025

support gaussdb callable


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-19598

@SweetWuXiaoMei SweetWuXiaoMei changed the title HHH-19598 - support gaussdb callable HHH-19598 - support gaussdb procedure Jul 8, 2025
.setParameter( 1, person1.getId() )
.getResultList();
Object[] postAndComment = postAndComments.get( 0 );
Person person = (Person) postAndComment[0];

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Person person' is never read.
.getResultList();
Object[] postAndComment = postAndComments.get( 0 );
Person person = (Person) postAndComment[0];
Phone phone = (Phone) postAndComment[1];

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Phone phone' is never read.
function.execute();
try (ResultSet resultSet = (ResultSet) function.getObject( 1 );) {
while ( resultSet.next() ) {
Long postCommentId = resultSet.getLong( 1 );

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Long postCommentId' is never read.
try (ResultSet resultSet = (ResultSet) function.getObject( 1 );) {
while ( resultSet.next() ) {
Long postCommentId = resultSet.getLong( 1 );
String review = resultSet.getString( 2 );

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'String review' is never read.
@beikov beikov merged commit af6ca24 into hibernate:main Jul 8, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants