Code assist for EntityQuery components that defined in
components.xml
---------------------------------------------------------------------
Key: JBIDE-3699
URL:
https://issues.jboss.org/browse/JBIDE-3699
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: seam2
Affects Versions: 3.0.0.CR2
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 4.3.0.Alpha1
For example:
<factory name="topProducts" value="#{topQuery.resultList}" />
<framework:entity-query name="topQuery" ejbql="select p from Product
p"/>
<h:dataTable value="#{topProducts}" var="product"/>
#{product.|} <!-- CA should work there -->
</h:dataTable>
The problem is that we should analizy ejbql and get to know that query returns Product.
Then we will be able to use it for resolving EL.
Hibernate tools can helps us here.
see
https://jira.jboss.org/jira/browse/JBIDE-3684