Uploaded image for project: 'Spring Data Neo4j'
  1. Spring Data Neo4j
  2. DATAGRAPH-933

@Property annotation on a Date field causes a derived finder to convert Date arguments incorrectly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2 M1 (Ingalls)
    • Component/s: None
    • Labels:
      None

      Description

      @Property(name = "cinemaRelease")
      private Date released;

      causes the Date arguments to a derived finder such as findByReleasedGreaterThan to be converted to longs instead of the default @DateString
      This works fine if there is no @Property on the field.

      Also works for @DateLong

      @Property(name = "cinemaRelease")
      @DateLong
      private Date released;

        Attachments

          Activity

            People

            Assignee:
            michael.simons Michael Simons
            Reporter:
            luanne@graphaware.com Luanne Misquitta
            Last updater:
            Michael Simons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: