Hi,
This is probably a very basic question so I apologize for the simplicity. I have been unable to find an answer to my question so I thought I would give this a go.
I am attempting to read data from a table and am trying to batch process the reads because the table has thousands of records.
So in my entity I have an annotation like so:
@BatchSize(size=250)
My question is, does all my business logic process need to occur within a Hibernate Session? I am assuming yes, but would hope for a clear answer.
Please please please help.
Also if you could point me to another thread or article, that would be great. I've done some searching on the forums and have found only very specific situations that don't help me much unfortunately.
Thanks in Advance...
|