-
Bug
-
Resolution: Done
-
Critical
-
3.3.0.M5
-
None
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