Details
-
Type: Wish
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta-3
-
Component/s: hibernate
-
Labels:None
-
Number of attachments :
Description
In FailoverSessionDelegator when you try to get a Session lazily you should throw an HibernateException insted of PicoInitializationException.
Its because my component does not know that Pico exists and if I cant open a session, even I do it lazily, because I had a problem with Hibernate, an Hibernate excpetion should be throwed to be treated as an HibernateException.
The line numeber is 50:
http://cvs.picocontainer.codehaus.org/viewrep/picocontainer/java/hibernate/src/java/org/nanocontainer/hibernate/FailoverSessionDelegator.java?r=1.2#l50
Thanks,
Jose Luiz Peleteiro
Activity
Jörg Schaible
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Won't Fix [ 2 ] | |
Fix Version/s | 1.0-beta-3 [ 11242 ] |
Forget it... I dont know why, but in my mind HibernateException was an RuntimeException.