Query createNativeQuery(
String sqlString,
Class resultClass
)
Create an instance of
Query
for executing a native SQL query. - Parameters:
sqlString
- a native SQL query stringresultClass
- the class of the resulting instance(s)
- Return:
- the new query instance
- Since:
- JPA 1.0