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

Custom conversion only works for Strings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.1.RC2
    • Fix Version/s: 2.1.RC3
    • Component/s: CORE
    • Labels:
      None

      Description

      If I register a custom converter, it is not found unless it happens to convert to or from String.

      Looks like the problem is in Neo4jPersistentPropertyImpl line 213, where we need to look in the annotation instead of hardcoding String:
      final Class<String> targetType = String.class;

        Attachments

          Activity

            People

            • Assignee:
              lassewesth Lasse Westh-Nielsen
              Reporter:
              lassewesth Lasse Westh-Nielsen
              Last updater:
              Trevor Marshall
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: