[
https://issues.jboss.org/browse/JBIDE-4007?page=com.atlassian.jira.plugin...
]
Dmitry Geraskov commented on JBIDE-4007:
----------------------------------------
What I have researched is:
1. There is no sence in using a few attributes as only with biggest priority will be used
by Configuration/AnnotationConfiguration
2. Priority is : resource, jar, file, package, class (this is from
AnnotationConfiguration. Configuration has different sequence, but as it doesn't
support package and class the sequence could be considered as the same)
3. Resource attribute is used as follows: ClassLoader#getResourceAsStream(str). And the
content is considered as hbm.xml file content.
4. File attribute is used as follows: new File(str)
5. Jar attribute is used as follows: new JarFile(str), and all hbm.xml files are extracted
from it.
6. Package attribute is a package name which contains "package-info.java"
Add Mapping wizard should conatain not only Class field.
--------------------------------------------------------
Key: JBIDE-4007
URL:
https://issues.jboss.org/browse/JBIDE-4007
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: hibernate
Affects Versions: 3.0.0.GA
Reporter: Anton Klimkovich
Assignee: Dmitry Geraskov
Priority: Minor
Fix For: LATER
Attachments: AddMapping.PNG
EXECUTE: Create Hibernate Configuration file
ASSERT: File should be opened in Hibernate Configuration 3.0 Editor
EXECUTE: Select Mappings and press Add button or Select Add Mapping from context menu
ASSERT: Add Mapping wizard should appear.
ASSERT: Add Mapping wizard should conatain not only Classand package fields but also
File, Resouce and Jar fields.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira