Task #40863

Update to Doctrine ORM version 2.3.x

Added by Karsten Dambekalns almost 3 years ago. Updated over 2 years ago.

Status:Resolved Start date:2012-05-24
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Persistence
Target version:TYPO3 Flow Base Distribution - 2.0 beta 1
Sprint: Has patch:No
PHP Version: Complexity:

Description

Make sure we can use stock 2.3 packages to be able to rely on composer.

Associated revisions

Revision b807ceb0
Added by Karsten Dambekalns over 2 years ago

[TASK] Use Doctrine 2.3 ORM and adjust as needed

This adjusts our annotation driver to the changes in Doctrine 2.3 that
were breaking.

Also it adds the code needed to support new features:

  • NamedNativeQueries annotation
  • SqlResultSetMappings annotation
  • Table->options
  • DiscriminatorColumn->columnDefinition
  • AssociationOverrides annotation
  • AttributeOverrides annotation
  • CustomIdGenerator annotation

Furthermore it requires doctrine/data-fixtures now, something we
previously had packaged into our Doctrine.Common package.

This change drops three changes we had applied to the stock packages
before:

  • ORM - Throw exception if no identifier can be found in UnitOfWork
  • ORM - In proxies add docblocks and move __wakeup() call around
  • DBAL - Fix connection charset with MySQL for PHP < 5.3.6
    (see https://review.typo3.org/4587).

Change-Id: I21f24bf9ef825ce6d6d03a5a9c2d271c41543507
Resolves: #40863
Releases: 1.2

History

#1 Updated by Karsten Dambekalns almost 3 years ago

  • Project changed from Doctrine 2 to TYPO3.Flow

#2 Updated by Karsten Dambekalns almost 3 years ago

  • Subject changed from Update to version 2.3.x to Update to Doctrine ORM version 2.3.x
  • Category set to Persistence
  • Has patch set to No

#3 Updated by Gerrit Code Review almost 3 years ago

  • Status changed from Accepted to Under Review

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14568

#4 Updated by Gerrit Code Review almost 3 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14568

#5 Updated by Gerrit Code Review almost 3 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14568

#6 Updated by Gerrit Code Review over 2 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14568

#7 Updated by Karsten Dambekalns over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF