[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-1963) Path to NewMapping.hbm.xml file should be inserted after DnD it into hibernate.cfg.xml file.
Max Andersen (JIRA)
jira-events at lists.jboss.org
Mon Mar 31 08:35:41 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1963?page=all ]
Max Andersen updated JBIDE-1963:
--------------------------------
Fix Version/s: LATER
make sense...but not sure what we should put there. Needs to be validated.
e.g. if the resource name is "/MyProject/src/org/model/Customer.hbm.xml" what should be inserted ?
Then the full file name ("/MyProject/src/org/model/Customer.hbm.xml") won't work
Assuming /MyProject/src is on the classpath of the project then
<mapping resource="org/model/Customer.hbm.xml"/> would work.
If it is not on the classpath it is probably an error anyway and we should warn against it.
> Path to NewMapping.hbm.xml file should be inserted after DnD it into hibernate.cfg.xml file.
> ----------------------------------------------------------------------------------------------
>
> Key: JBIDE-1963
> URL: http://jira.jboss.com/jira/browse/JBIDE-1963
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: Hibernate
> Affects Versions: 2.1
> Reporter: Anton Klimkovich
> Priority: Optional
> Fix For: LATER
>
>
> EXECUTE: Import attached java project
> EXECUTE: Open hibernate.cfg.xml file
> ASSERT: File should be opened in Hibernate Configuration3.0 XML Editor
> EXECUTE: Make DnD NewMapping.hbm.xml file into opened hibernate.cfg.xml file. (look at screenshot)
> ASSERT: Path to NewMapping.hbm.xml file should be inserted.
--
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