Announcement Announcement Module
No announcement yet.
HibernateCursorItemReader not closing stateful sessions Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • HibernateCursorItemReader not closing stateful sessions

    Looks like there is a minor bug in HibernateCursorItemReader in the final release which I suspect is easily fixed; close() isnít closing stateful sessions Ė there is a typo in the close() method so it tries to close the stateless session for stateful sessions. Unfortunately it does mean that batch jobs running in a container using a connection pool will exhaust that pool after a few runs.

    Other than that bug (which is easy to patch locally), this is great a release. I canít stress how useful this framework is for us. Great work!

  • #2
    Open and closed:

    The fix should be applied for the 1.0.1 release. Thanks for letting us know, and the positive feedback is greatly appreciated.