Uploaded image for project: 'Spring Data JPA'
  1. Spring Data JPA
  2. DATAJPA-297

org.postgresql.util.PSQLException: ERROR: arguments of row IN must all be row expressions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Works as Designed
    • Affects Version/s: 1.2 GA
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
    • Environment:
      Eclipselink (Glassfish 3.2.2)
      Postgresql 9.1

      Description

      I have the following query method defined:

      -> List<Invitation> findByValueIn(Collection<String> values);

      The Invitation entity has a field named value and I pass a Set<String> into the query method.

      At runtime, when the query method is invoked, the following error is produced:

      -> 'ERROR: arguments of row IN must all be row expressions'

      The full stacktrace is available in the attached file.

      As a workaround, I wrote my own function using the JPA Criteria API.

        Attachments

          Activity

            People

            • Assignee:
              olivergierke Oliver Gierke
              Reporter:
              amd2002a Tony Davidson
              Last updater:
              Trevor Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: