File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
hibernate-core/src/test/java/org/hibernate/jpa/test/query Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 66 */
77package org .hibernate .jpa .test .query ;
88
9- import java .sql .Statement ;
109import java .util .List ;
1110import java .util .Map ;
1211import javax .persistence .Entity ;
1716import javax .persistence .Table ;
1817import javax .persistence .TypedQuery ;
1918
20- import org .hibernate .Session ;
2119import org .hibernate .annotations .NamedNativeQuery ;
2220import org .hibernate .annotations .NamedQuery ;
2321import org .hibernate .cfg .AvailableSettings ;
@@ -140,7 +138,7 @@ public void testSelectNamedNativeQueryWithSqlComment() {
140138
141139assertNotNull (
142140connectionProvider .getPreparedStatement (
143- "/* + INDEX (game idx_game_title) */ select * from Game g where title = ?"
141+ "/* + INDEX (game idx_game_title) */ select * from game g where title = ?"
144142)
145143);
146144} );
@@ -292,7 +290,7 @@ public void testSelectNamedNativeQueryWithQueryHintUsingIndex() {
292290)
293291@ NamedNativeQuery (
294292name = "SelectNamedNativeQuery" ,
295- query = "select * from Game g where title = :title" ,
293+ query = "select * from game g where title = :title" ,
296294comment = "+ INDEX (game idx_game_title) " ,
297295resultClass = Game .class
298296)
You can’t perform that action at this time.
0 commit comments