Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1367

The right way to lazily consume a non-thread-safe source

$
0
0

I need to fetch from the database a large amount of data and make a stream from it. But ScrollableResult from Hibernate and Cursor from MyBatis bounded to a session that is not thread-safe and must be closed. How to do such things right?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1367

Trending Articles