[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:04:47 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-618?page=comments#action_12370123 ] 
            
Aliaksey Nis commented on JBIDE-618:
------------------------------------

I think, that this is incorrect error handling. RHDS must show warning of any sort, that tell me that cfg.xml file was not setted. Not an exception with error window...

P.S. cfg.xml was specially not pointed in console configuration.

> 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