Skip to content

Commit 9861678

Browse files
deleted hints
1 parent 3d15d3f commit 9861678

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

hibernate-dialect/src/test/java/tech/ydb/hibernate/student/StudentsRepositoryTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void studentByGroupNameUsingPragmaHintTest() {
206206
inTransaction(
207207
session -> {
208208
/*
209-
PRAGMA ydb.HashJoinMode='grace'; PRAGMA Warning("disable", "1101"); select
209+
select
210210
g1_0.GroupId,
211211
g1_0.GroupName,
212212
s1_0.GroupId,
@@ -222,8 +222,6 @@ void studentByGroupNameUsingPragmaHintTest() {
222222
*/
223223
List<Student> students = session
224224
.createQuery("FROM Group g JOIN FETCH g.students WHERE g.name = 'M3439'", Group.class)
225-
.addQueryHint("add_pragma:ydb.HashJoinMode='grace'")
226-
.addQueryHint("add_pragma:Warning(\"disable\", \"1101\")")
227225
.getSingleResult().getStudents();
228226

229227
assertEquals(2, students.size());

0 commit comments

Comments
 (0)