[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-618) Exception in Hibernate, when hibernate.cfg.xml not found
Aliaksey Nis (JIRA)
jira-events at lists.jboss.org
Thu Jul 26 09:39:47 EDT 2007
[ http://jira.jboss.com/jira/browse/JBIDE-618?page=comments#action_12370130 ]
Aliaksey Nis commented on JBIDE-618:
------------------------------------
Yep, i get this. But i think, that warning about missed cfg.xml must be more "friendly" to user. Anyway no need to throw an exception in error log window. Same thing with JDBC connection don't setted (JBIDE-619).
P.S. Error title sucks anyway. :)
> Exception in Hibernate, when hibernate.cfg.xml not found
> --------------------------------------------------------
>
> Key: JBIDE-618
> URL: http://jira.jboss.com/jira/browse/JBIDE-618
> Project: JBoss Tools
> Issue Type: Bug
> Components: Hibernate
> Environment: WindowsXP SP2
> rhds-win32-1.0.0.alpha.jar
> Red Hat Developer Studio
> Version: 1.0.0
> Build: build 20070711-nightly
> JDK 1.5_08
> Reporter: Aliaksey Nis
> Assigned To: Max Andersen
> Attachments: HibernateCfgLog.txt
>
>
> Simple way to reproduce exception.
> 1. Create JSF 1.2 Kickstart project in RHDS
> 2. Ctrl+N - select Hibernate>Hibernate Configuration File
> 3. Select KickStart project, Press Finish.
> 4. Ctrl+N - select Hibernate>Hibernate Console Configuration
> 5. Enter Project Kickstart as project, and configuration name, press Finish.
> 6. Open Hibernate Configurations View.
> 7. Click on newly created console configuration.
> Exception appears, instead of warning about "no cfg file".
> Error log attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list