Skip to content

Commit

Permalink
Upgrade to Eclipselink 5.0.0-B05.
Browse files Browse the repository at this point in the history
Closes: #3672
Original Pull Request: #3695
  • Loading branch information
mp911de authored and christophstrobl committed Dec 20, 2024
1 parent c122e7b commit f04be06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

<properties>
<antlr>4.13.0</antlr> <!-- align with Hibernate's parser -->
<eclipselink>4.0.4</eclipselink>
<eclipselink-next>4.0.5-SNAPSHOT</eclipselink-next>
<eclipselink>5.0.0-B05</eclipselink>
<eclipselink-next>5.0.0-SNAPSHOT</eclipselink-next>
<hibernate>7.0.0.Beta1</hibernate>
<hibernate-70-snapshots>7.0.0-SNAPSHOT</hibernate-70-snapshots>
<hsqldb>2.7.4</hsqldb>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ List<User> findUsersByFirstnameForSpELExpressionWithParameterIndexOnlyWithEntity

List<RolesAndFirstname> findRolesAndFirstnameBy();

@Query(value = "FROM User u")
@Query(value = "SELECT u FROM User u")
List<IdOnly> findIdOnly();

// DATAJPA-1172
Expand Down Expand Up @@ -643,13 +643,13 @@ List<User> findUsersByFirstnameForSpELExpressionWithParameterIndexOnlyWithEntity
List<NameOnly> findAllInterfaceProjectedBy();

// GH-2045, GH-425
@Query("select concat(?1,u.id,?2) as id from #{#entityName} u")
@Query("select concat(?1,u.id,?2) as identifier from #{#entityName} u")
List<String> findAllAndSortByFunctionResultPositionalParameter(
@Param("positionalParameter1") String positionalParameter1,
@Param("positionalParameter2") String positionalParameter2, Sort sort);

// GH-2045, GH-425
@Query("select concat(:namedParameter1,u.id,:namedParameter2) as id from #{#entityName} u")
@Query("select concat(:namedParameter1,u.id,:namedParameter2) as identifier from #{#entityName} u")
List<String> findAllAndSortByFunctionResultNamedParameter(@Param("namedParameter1") String namedParameter1,
@Param("namedParameter2") String namedParameter2, Sort sort);

Expand Down

0 comments on commit f04be06

Please sign in to comment.