Skip to content

Commit 2cf9ec8

Browse files
NathanQingyangXubeikov
authored andcommitted
HHH-14384 Fix QueryProducer.createNativeQuery documentation
1 parent d5b0c16 commit 2cf9ec8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hibernate-core/src/main/java/org/hibernate/query/QueryProducer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public interface QueryProducer {
5050
* Create a typed {@link Query} instance for the given HQL/JPQL query string.
5151
*
5252
* @param queryString The HQL/JPQL query
53-
*
53+
* @param resultClass The type of the query result
5454
* @return The Query instance for manipulation and execution
5555
*
5656
* @see javax.persistence.EntityManager#createQuery(String,Class)
@@ -123,7 +123,7 @@ default SQLQuery createSQLQuery(String queryString) {
123123
* implicit mapping to the specified Java type.
124124
*
125125
* @param sqlString Native (SQL) query string
126-
* @param resultClass The Java type to map results to
126+
* @param resultClass The Java entity type to map results to
127127
*
128128
* @return The NativeQuery instance for manipulation and execution
129129
*

0 commit comments

Comments
 (0)