scrollableresults Questions

2

Caused by: org.hibernate.QueryException: Could not resolve requested type for CAST : INT [ SELECT SUBSTRING(referenceComptable , 8, 14) AS seqNum, SUBSTRING(referenceComptable, 4,7) AS yearCegi...
Maziar asked 6/9, 2018 at 10:11

12

Solved

I simply need to read each row in a table in my MySQL database using Hibernate and write a file based on it. But there are 90 million rows and they are pretty big. So it seemed like the following w...

2

Since Hibernate 5.2, we are able to use the stream() method instead of scroll() if we want to fetch large amount of data. However, when using scroll() with ScrollableResults we are able to a hook ...
Segarra asked 12/5, 2017 at 10:58
1

© 2022 - 2024 — McMap. All rights reserved.