Provide reference navigation inside SQL fragment

Say I have an XML file with this piece of code:

<sql bean="my.package.BeanClass">
  select * from table where column = #{beanField}
</sql>

An SQL fragment is automatically injected inside the <sql> tag.

How can I provide reference navigation for beanField, so that with CTRL+Right click I'm able to go to declaration point?

0

Please sign in to leave a comment.