From: Emmanuel B. (JIRA) <no...@at...> - 2006-06-13 14:31:36
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-373?page=comments#action_23327 ] Emmanuel Bernard commented on ANN-373: -------------------------------------- Annotations register a entity class so that the fqcn or the entity name can be used in a query. I've some working tests. What specifically fails? note that the entity name is @Entity(name) which default to the uqcn > imports are not done for the full entityname > -------------------------------------------- > > Key: ANN-373 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-373 > Project: Hibernate Annotations > Type: Improvement > Components: binder > Reporter: Max Rydahl Andersen > Priority: Minor > > > hbmbinder adds both the simple and fully qualified name into imports. > annotationbinder does not. > e.g. > org.jbossworld.Patient should be added as both "Patient" and "org.jbossworld.Patient" to be aligned with hbmbinder. > hql code completion assumes this. > workaround is to do two looksup instead, one in imports and if that return null do a lookup directly in classmappings -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |