From: <leg...@at...> - 2003-05-31 06:27:50
|
The following comment has been added to this issue: Author: Axel Fontaine Created: Sat, 31 May 2003 1:27 AM Body: Yes, but it still logs a stack trace to the console ! --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-110 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-110 Summary: Provide a way to use hibernate.cfg.xml without JNDI Type: Improvement Status: Closed Priority: Major Resolution: DUPLICATE Project: Hibernate2 Versions: 2.0rc2 Assignee: Gavin King Reporter: Axel Fontaine Created: Thu, 29 May 2003 4:42 AM Updated: Thu, 29 May 2003 8:55 PM Description: Currently hibernate.cfg.xml can not be used as a drop-in replacement for hibernate.properties This is really a shame! There is really no reason why this shouldn't be the case. And it is much nicer than all the config.addClass(XYZ) statements, as it moves this out of the code. So, why not factor out the JNDI specific part in its own subclass? --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |