|
I don't believe there's a lot of benefit to 1st level cache in batch mode with Hibernate. It would be interesting to have a hibernate developer comment. Reference Data is typically stored in 2nd level cache but I wonder if it would get there without the connection through 1st level cache. I agree that in batch you do tend to initialize reference data that will be accessed throughout the batch job. I would be willing to manually populate level 2 cache to have the benefits of bypassing managed objects in batch.
A hibernate input source has been added, using the patch added to
Is this related to the work on SPR-2495?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
- hibernate input source based on stateless session and iteration over scrollable resultset
- unified tests for all sql input sources (one common superclass contains testcases)
- necessary refactorings to SingleKeyDrivingQuery (new functionality added) and SqlCursor (minor tweaks) input sources
- sample job using hibernate input source for input and hibernate dao for output