Bug #85 (closed)
Hibernate silently swallows bad connection url.
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Cc: | |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description
An invalid hibernate.connection.url will not fail until an actual call is made to the database. The reason for this can be seen in org.hibernate.cfg.SettingsFactory#buildSettings?(Properties) line 102 (in version 3.1.2) where all SQLExceptions are swallowed. (This link works currently).
The suggested immediate fix is to access the DB any time that a live connection must be guaranteed.
Change History (3)
comment:1 Changed 18 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 18 years ago by jmoore
Posted to Spring JIRA as :
http://opensource.atlassian.com/projects/spring/browse/SPR-2057
comment:3 Changed 18 years ago by jmoore
- Keywords changed from interation2 to iteration2
r666 shows code which
Closing for now. If anyone knows of anything we can do about this, speak up.