From: Max R. A. (JIRA) <no...@at...> - 2006-05-31 08:30:19
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-669?page=comments#action_23210 ] Max Rydahl Andersen commented on HBX-669: ----------------------------------------- http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947721#3947721 So 1. target @NamedQuery(ies) and hbm/ ejb3 DD 2. target simple strings (createQuery("...") or createQuery(CONSTANTS) 3. do some magic-ish things for more complex strings :-) 1 is cool 2 is fantastic 3 is a + but not that critical frankly > Code level HQL query validation > ------------------------------- > > Key: HBX-669 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-669 > Project: Hibernate Tools > Type: New Feature > Components: eclipse > Reporter: Emmanuel Bernard > > > When an Hibernate configuration is provided, the IDE should be able to validate a given HQL query written in the code and in the XML files > The code level warning would be a killer feature. > Note that the hard part for the code is to "reckognize" a string as HQL query. -- 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 |