createNativeQuery(sqlString, resultSetMapping) - JPA EntityManager's method
Method javax.persistence.EntityManager
Query createNativeQuery(
String sqlString,
String resultSetMapping
)
Create an instance of
Query
for executing a native SQL query. - Parameters:
-
sqlString
- a native SQL query stringresultSetMapping
- the name of the result set mapping
- Returns:
- the new query instance
- Since:
- JPA 1.0