||Five Things I Love About Spring|
|Subject:||Bug in "The Old Way" Code|
This will throw a NullPointerException in the finally block if the session factory throws an exception when opening a session, i.e. it will conceal the true exception.
Is this how Spring does it too?
Hear us Roar