History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-17354
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Gregory Shrago
Reporter: Alexander Chernikov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Hibernate configuration and mapping: code completion after dot in existent value incorrectly inserts shorthand values

Created: 30 May 07 21:12   Updated: 06 Nov 08 23:14
Component/s: J2EE.Hibernate
Fix Version/s: Undefined

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,990


 Description  « Hide
Consider hibernate XMLs: *.cfg.xml and *.hbm.xml. Some elements and attributes accept both class names and shorthand values. E.g.:
  • In hibernate.cfg.xml: current_session_context_class property accepts both "thread" and "org.hibernate.context.ThreadLocalSessionContext".
  • In class.hbm.xml: class/id/generator/@class value may be "increment" and "org.hibernate.id.IncrementGenerator".
  • Etc.

Get an element with class name value. Put cursor after any dot. Ctrl+Space. The suggestions are Ok. Select shorthand value. Tab. Result: incorrectly "qualified" value like "org.hibernate.increment".
Inserted shorthand value should erase FQN prefix.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.