Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
Signed-off-by: Radek Felcman <[email protected]>
  • Loading branch information
rfelcman committed Nov 13, 2024
1 parent b198828 commit 005115c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public void testSelectQueryImplicitThisVariableInAggregateFunctionPath() {

// Covers https://github.com/eclipse-ee4j/eclipselink/issues/2247
public void testSelectQueryImplicitThisVariableInArithmeticExpression() {
resetRooms();
resetRooms(false);
int roomCapacity = getEntityManagerFactory().callInTransaction(em -> em.createQuery(
"SELECT length * width * height FROM Room WHERE id = :idParam", Integer.class)
.setParameter("idParam", ROOMS[1].getId())
Expand All @@ -391,7 +391,7 @@ public void testSelectQueryImplicitThisVariableAndEnum() {
// Covers https://github.com/eclipse-ee4j/eclipselink/issues/2286
public void testSelectQueryIdFunctionNestedInArithmeticFunction_Where() {
final String typeName = getPlatform().isMySQL() ? "UNSIGNED": "INTEGER";
resetRooms();
resetRooms(false);
Room room = getEntityManagerFactory().callInTransaction(em -> em.createQuery(
"SELECT this " +
"FROM Room " +
Expand All @@ -404,7 +404,7 @@ public void testSelectQueryIdFunctionNestedInArithmeticFunction_Where() {

// Covers https://github.com/eclipse-ee4j/eclipselink/issues/2286
public void testSelectQueryIdFunctionNestedInStringFunction_Where() {
resetRooms();
resetRooms(false);
Room room = getEntityManagerFactory().callInTransaction(em -> em.createQuery(
"SELECT this " +
"FROM Room " +
Expand Down

0 comments on commit 005115c

Please sign in to comment.