[jbosstools-issues] [JBoss JIRA] (JBIDE-10515) Mappings in H4 configuration are not built by default
Dmitry Geraskov (Created) (JIRA)
jira-events at lists.jboss.org
Fri Dec 16 08:41:09 EST 2011
Mappings in H4 configuration are not built by default
-----------------------------------------------------
Key: JBIDE-10515
URL: https://issues.jboss.org/browse/JBIDE-10515
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 3.3.0.M5
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Priority: Critical
Fix For: 3.3.0.Beta1
When JPA configuration is used we call configure(Properties properties, Map workingVars) method and as a side effect mappings were built earlier.
But in Hibernate 4 this doesn't happen. So we need to call buildMappings evidently.
Test Case:
1. Create JPA Project with hibernate 4 with some mapping
2. Set Console Configuration Hierbante version to 4.0
3. Expand Configuration node in the tree
4. Right click on the mapped class-open in HQL Editor
5. Change query to "from <myPack>.<MyClass> s where s." and press ctrl+space for code completion
6. FAILURE: code completion don't show properties as completion proposals
7. Expands SessionFactory node in the tree
8. Step6 how shows correct completion proposals
--
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
More information about the jbosstools-issues
mailing list