Uploaded image for project: 'Spring Data JDBC'
  1. Spring Data JDBC
  2. DATAJDBC-448

NamingStrategy: Documentation referencing wrong ReverseColumnName method

    XMLWordPrintable

    Details

      Description

      The documentation says]

      Set<some entity> is considered a one-to-many relationship. The table of the referenced entity is expected to have an additional column named the same as the table of the referencing entity. You can change this name by implementing NamingStrategy.getReverseColumnName(RelationalPersistentProperty property).

      Implementing this method does not work for me. Implementing NamingStrategy.getReverseColumnName(PersistentPropertyPathExtension path) works.

        Attachments

          Activity

            People

            Assignee:
            schauder Jens Schauder
            Reporter:
            cleemansen Clemens Hahn
            Last updater:
            Jens Schauder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: