Skip to content

Conversation

@njr-11
Copy link
Member

@njr-11 njr-11 commented Oct 24, 2025

Fixes #33177

Stream operations that continue to access data need to be in the same transaction. If there is not a transaction active, take an approach similar to what EcilpseLink is already doing and obtain all of the data first, creating a stream from that. If a transaction is active, then use getResultStream, so that Hibernate can provide a stream that retrieves data as needed. Enable tests and ensure test coverage for both ways. Also, several additional issues were discovered and opened for separate investigation after tests were able to get further along. They are noted in TODO comments in the code and linked to the user story.

@njr-11 njr-11 self-assigned this Oct 24, 2025
@njr-11
Copy link
Member Author

njr-11 commented Oct 24, 2025

!build
notification=newcomment

@LibbyBot
Copy link
Member

Your Open Liberty Personal Build request is at https://libh-proxy1.fyre.ibm.com/cognitive/pipelineAnalysis.html?pipelineId=643c8106-4360-4730-8df3-9f77dc853756

Note: Target locations of links might be accessible only to IBM employees.

@LibbyBot
Copy link
Member

Code analysis and actions

DO NOT DELETE THIS COMMENT.
  • 1 FAT files were changed, added, or removed.

  • Check that the build did not break the affected FAT suite(s).

  • 2 product code files were changed.

  • Please describe in a separate comment how you tested your changes.

@LibbyBot
Copy link
Member

https://libh-proxy1.fyre.ibm.com/cognitive/pipelineAnalysis.html?pipelineId=643c8106-4360-4730-8df3-9f77dc853756 - Open Liberty Personal Build completed with errors/failures.

@njr-11
Copy link
Member Author

njr-11 commented Oct 24, 2025

!build
notification=newcomment

@LibbyBot
Copy link
Member

Your Open Liberty Personal Build request is at https://libh-proxy1.fyre.ibm.com/cognitive/pipelineAnalysis.html?pipelineId=90021b5b-11bf-46b5-993f-a41a02559d2e

Note: Target locations of links might be accessible only to IBM employees.

@LibbyBot
Copy link
Member

Code analysis and actions

DO NOT DELETE THIS COMMENT.
  • 1 FAT files were changed, added, or removed.

  • Check that the build did not break the affected FAT suite(s).

  • 2 product code files were changed.

  • Please describe in a separate comment how you tested your changes.

@LibbyBot
Copy link
Member

@njr-11
Copy link
Member Author

njr-11 commented Oct 25, 2025

Build has 1 intermittent test failure in a test bucket that does not use Jakarta Data

@njr-11 njr-11 merged commit db49a36 into OpenLiberty:integration Oct 25, 2025
3 of 4 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.

Hibernate: ResultSet closed when returning a stream

3 participants