[nanocontainer-scm] [jira] Closed: (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 17:58:51 -0400 (EDT)
| Newsgroups | gmane.comp.java.nanocontainer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Message:
The following issue has been closed.
Resolver: Joerg Schaible
Date: Thu, 30 Sep 2004 5:57 PM
HibernateException is a checked exception. Change not possible because of underlaying interface of net.sf.hibernate.Session.
---------------------------------------------------------------------
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: Closed
Priority: Major
Resolution: WON'T FIX
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: NanoContainer
Components:
hibernate
Fix Fors:
1.0-beta-3
Assignee:
Reporter: Jose Luiz Peleteiro
Created: Wed, 29 Sep 2004 4:41 PM
Updated: Thu, 30 Sep 2004 5:57 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