Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1274

there is no way to set collate of the table charset !

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Invalid
    • Affects Version/s: 2.0.6
    • Fix Version/s: None
    • Component/s: Mapping Drivers
    • Security Level: All
    • Environment:
      zend frame work 1.10 with doctrine orm 2 and dbal

      Description

      i searched a lot for this

      there is no way to set the collate of table fields to for ex. utf8_persian_ci in doctrine settings

        Activity

        Hide
        William Knak added a comment -

        Actually Doctrine 2.3.0 does not allow inheritance. Please look at Issue #DDC-2139 . At least, if there's an option to set a global default collation (wich I didn't find), the problem will occurs every time a table of string/varchar field was created by Symfony2 Doctrine Command.

        Show
        William Knak added a comment - Actually Doctrine 2.3.0 does not allow inheritance. Please look at Issue # DDC-2139 . At least, if there's an option to set a global default collation (wich I didn't find), the problem will occurs every time a table of string/varchar field was created by Symfony2 Doctrine Command.
        Hide
        Benjamin Eberlei added a comment -

        This is not a supported feature, if you set the collation in the CREATE DATABASE statement this will inherit to all fields automatically.

        Show
        Benjamin Eberlei added a comment - This is not a supported feature, if you set the collation in the CREATE DATABASE statement this will inherit to all fields automatically.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            sina miandashti
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: