[nanocontainer-scm] [jira] Commented: (NANO-101) In FailoverSessionDelegator when you try to get a Session lazilly you should throw an HibernateException insted of PicoInitializationException.

jira-yCVjj/[email protected] Thu, 30 Sep 2004 15:31:51 -0400 (EDT)
Newsgroups gmane.comp.java.nanocontainer.cvs
Message-ID <[email protected]>
The following comment has been added to this issue:

     Author: Jose Luiz Peleteiro
    Created: Thu, 30 Sep 2004 3:31 PM
       Body:
Forget it... I dont know why, but in my mind HibernateException was an RuntimeException.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/NANO-101?page=comments#action_24788

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/NANO-101

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: NANO-101
    Summary: In FailoverSessionDelegator when you try to get a Session lazilly you should throw an HibernateException insted of PicoInitializationException.
       Type: Wish

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: NanoContainer
 Components: 
             hibernate

   Assignee: 
   Reporter: Jose Luiz Peleteiro

    Created: Wed, 29 Sep 2004 4:41 PM
    Updated: Thu, 30 Sep 2004 3:31 PM

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


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira