From: Max R. A. (JIRA) <no...@at...> - 2006-06-13 19:34:41
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-373?page=comments#action_23331 ] Max Rydahl Andersen commented on ANN-373: ----------------------------------------- getImports().get("Patient") returns "org.jbossworld.Patient" getImports().get("org.jbossworld.Patient") returns null (it should also return "org.jbossworld.Patient" to be equal to what hbmbinder provides. > 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 |