Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2817

EntityGenerator should add escape character ` for columns names.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:

      Description

      DBMS keywords like 'when' can clash with column names. A tool like this should add column name as escaped in annotation for entities.

        Activity

        Hide
        Marco Pivetta added a comment -

        doctrine doesn't fix bad naming decisions... That can be handled via a naming strategy instead.

        Show
        Marco Pivetta added a comment - doctrine doesn't fix bad naming decisions... That can be handled via a naming strategy instead.

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Shailesh Prakash
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: