Skip to content

Commit 3886a06

Browse files
committed
Final Hibernate HQL and Criteria Tests
1 parent 782af18 commit 3886a06

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-hibernate4/src/test/java/org/baeldung/persistence/service/FooSortingServiceTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ public final void whenHQlSortingByOneAttribute_thenPrintSortedResults() {
7070
for(Foo foo: fooList){
7171
System.out.println(
7272
"Name: " + foo.getName()
73-
+ ", Id: " + foo.getId()
74-
73+
+ ", Id: " + foo.getId()
7574
);
7675
}
7776
Transaction tr = sess.beginTransaction();

0 commit comments

Comments
 (0)