[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-1832) Exception appeares while trying to expand newly created Hibernate configuration in Hibernate Configurations View
Anton Klimkovich (JIRA)
jira-events at lists.jboss.org
Fri Feb 29 13:55:58 EST 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1832?page=all ]
Anton Klimkovich updated JBIDE-1832:
------------------------------------
Attachment: exception.txt
> Exception appeares while trying to expand newly created Hibernate configuration in Hibernate Configurations View
> ----------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-1832
> URL: http://jira.jboss.com/jira/browse/JBIDE-1832
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Hibernate
> Affects Versions: 2.0.1
> Reporter: Anton Klimkovich
> Attachments: exception.txt
>
>
> EXECUTE: Create JSF KickStart project
> EXECUTE: Create Hibernate XML Mapping file(hbm.xml)
> EXECUTE: Type in mapping file :
> <class name="demo.User">
> <id/>
> <property name="name" type="string">
> <column name="registration"/>
> </property>
> </class>
> EXECUTE: Create Hibernate Configuration file(cfg.xml)
> EXECUTE: Type in cfg.xml
> <session-factory name="Registration">
> <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
> <property name="hibernate.connection.url">jdbc:hsqldb:hsql://localhost</property>
> <property name="hibernate.connection.username">sa</property>
> <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
> <mapping file=" {Path to hbm.xml} "/>
> </session-factory>
> EXECUTE: Open Hibernate Configurations View
> EXECUTE: From context menu select Add configuration..
> EXECUTE: In field Project select your JSF project
> EXECUTE: In field Configuration file select your created cfg.xml
> ASSERT: New Hibernate configuration appeares in Hibernate Configurations View
> EXECUTE: Expand new Hibernate configuration
> FAILURE: org.hibernate.MappingNotFoundException: file: \NewMapping.hbm.xml not found
> 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