Ticket #996 (closed defect: invalid)

Opened 23 months ago

Last modified 18 months ago

Persistent connections and other configuration settings

Reported by: dverspui Owned by: jwage
Priority: major Milestone:
Component: sfDoctrinePlugin Version: 1.0.0
Severity: Keywords: connection persistent attributes options
Cc: Has Test: no
Status: Pending Core Response Has Patch: no

Description

Doctrine_Connection supports attributes and options, where attributes are processed after opening the connection and options may or may not be used before or after opening the connection. Attribute ATTR_PERSISTENT in particular should, in the case of a PDO connection, be specified as fourth option in the PDO constructor to let PDO really use a persistent connection. This is currently not the case. Instead of applying a special workaround for handling this persistent attribute, sfDoctrinePlugin should support separate attributes and options to be applied before- or after opening a connection. Also for Symfony users it is preferred to locate these settings in a database.yml rather than a doctrine.yml.

For more information please see doctrine-user thread  http://groups.google.com/group/doctrine-user/t/19700db17bfe5470 .

Change History

Changed 19 months ago by jwage

  • has_patch unset
  • version changed from 0.11 to 1.0
  • mystatus set to Pending Core Response
  • milestone changed from Unknown to 1.0.0-RC2
  • has_test unset

Changed 19 months ago by anonymous

  • milestone New deleted

Milestone New deleted

Changed 18 months ago by jwage

  • status changed from new to closed
  • resolution set to invalid

This ticket belongs on the symfony project trac.

Note: See TracTickets for help on using tickets.