[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1173) Suggest table and column names in @Column(name=...) and @Table(name=...)
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Thu Apr 17 09:50:44 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1173?page=comments#action_12409352 ]
Max Rydahl Andersen commented on JBIDE-1173:
--------------------------------------------
Looking more at the code I see stuff like annotations = doc.get(0, stringStart).toLowerCase().split("@"); ....that is a very inefficient and naive way of identifying annotations.
Unfortunately I think we can't do much better than that since the JDT api in Eclipse 3.3.x is limited with respect to annotation information (coming back to why I did not filter HQL queries since it is not possible to identify efficiently)
> Suggest table and column names in @Column(name=...) and @Table(name=...)
> ------------------------------------------------------------------------
>
> Key: JBIDE-1173
> URL: http://jira.jboss.com/jira/browse/JBIDE-1173
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: Hibernate
> Reporter: Gavin King
> Assigned To: Max Rydahl Andersen
> Priority: Optional
> Fix For: 2.1
>
> Attachments: JBIDE-1173_20080417.zip
>
>
> We have all the schema information right there. Use it!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list