Queries

This table lists the Query information fields available in the JPA Details view for the orm.xml file.

Property Description Default

Queries

Displays the existing Named and Native queries.

Click Add to add a named query, or Add Native for a native query.

For named queries, enter the query in the Query field.

For native queries, select a result class, then enter the query in the Query field.


Named Queries



Name



Query



Lock mode


None

Native Queries



Name



Result class



Query



Query Hints

Displays the existing query hints (Name and Value).

Click Add to add a new query hint.



Related tasks

Related reference