[PR #197] [CLOSED] [WIP] Integration of DBAL's Type::convertToDatabaseValueSQL() and Type::convertToPHPValueSQL() #7840

Open
opened 2026-01-22 15:57:08 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/197
Author: @jsor
Created: 11/18/2011
Status: Closed

Base: masterHead: DbalTypeValueSQL


📝 Commits (1)

  • 2ffceff Initial implementation of Doctrine\DBAL\Types\Type::convertToDatabaseValueSQL() and Doctrine\DBAL\Types\Type::convertToPHPValueSQL() integration

📊 Changes

18 files changed (+849 additions, -131 deletions)

View changed files

📝 lib/Doctrine/ORM/Persisters/AbstractEntityInheritancePersister.php (+12 -4)
📝 lib/Doctrine/ORM/Persisters/BasicEntityPersister.php (+124 -38)
📝 lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php (+34 -14)
📝 lib/Doctrine/ORM/Persisters/ManyToManyPersister.php (+61 -26)
📝 lib/Doctrine/ORM/Persisters/OneToManyPersister.php (+14 -4)
📝 lib/Doctrine/ORM/Persisters/SingleTablePersister.php (+30 -17)
📝 lib/Doctrine/ORM/Query/SqlWalker.php (+117 -28)
tests/Doctrine/Tests/DbalTypes/NegativeToPositiveType.php (+34 -0)
tests/Doctrine/Tests/DbalTypes/UpperCaseStringType.php (+29 -0)
📝 tests/Doctrine/Tests/Mocks/ConnectionMock.php (+14 -0)
tests/Doctrine/Tests/Models/CustomType/CustomTypeChild.php (+21 -0)
tests/Doctrine/Tests/Models/CustomType/CustomTypeParent.php (+68 -0)
tests/Doctrine/Tests/Models/CustomType/CustomTypeUpperCase.php (+21 -0)
tests/Doctrine/Tests/ORM/Functional/TypeValueSqlTest.php (+102 -0)
tests/Doctrine/Tests/ORM/Persisters/BasicEntityPersisterTypeValueSqlTest.php (+93 -0)
📝 tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php (+31 -0)
📝 tests/Doctrine/Tests/ORM/Query/UpdateSqlGenerationTest.php (+32 -0)
📝 tests/Doctrine/Tests/OrmFunctionalTestCase.php (+12 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/197 **Author:** [@jsor](https://github.com/jsor) **Created:** 11/18/2011 **Status:** ❌ Closed **Base:** `master` ← **Head:** `DbalTypeValueSQL` --- ### 📝 Commits (1) - [`2ffceff`](https://github.com/doctrine/orm/commit/2ffceff3e0278b239be0239da77fb2a02f1bae0d) Initial implementation of Doctrine\DBAL\Types\Type::convertToDatabaseValueSQL() and Doctrine\DBAL\Types\Type::convertToPHPValueSQL() integration ### 📊 Changes **18 files changed** (+849 additions, -131 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Persisters/AbstractEntityInheritancePersister.php` (+12 -4) 📝 `lib/Doctrine/ORM/Persisters/BasicEntityPersister.php` (+124 -38) 📝 `lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php` (+34 -14) 📝 `lib/Doctrine/ORM/Persisters/ManyToManyPersister.php` (+61 -26) 📝 `lib/Doctrine/ORM/Persisters/OneToManyPersister.php` (+14 -4) 📝 `lib/Doctrine/ORM/Persisters/SingleTablePersister.php` (+30 -17) 📝 `lib/Doctrine/ORM/Query/SqlWalker.php` (+117 -28) ➕ `tests/Doctrine/Tests/DbalTypes/NegativeToPositiveType.php` (+34 -0) ➕ `tests/Doctrine/Tests/DbalTypes/UpperCaseStringType.php` (+29 -0) 📝 `tests/Doctrine/Tests/Mocks/ConnectionMock.php` (+14 -0) ➕ `tests/Doctrine/Tests/Models/CustomType/CustomTypeChild.php` (+21 -0) ➕ `tests/Doctrine/Tests/Models/CustomType/CustomTypeParent.php` (+68 -0) ➕ `tests/Doctrine/Tests/Models/CustomType/CustomTypeUpperCase.php` (+21 -0) ➕ `tests/Doctrine/Tests/ORM/Functional/TypeValueSqlTest.php` (+102 -0) ➕ `tests/Doctrine/Tests/ORM/Persisters/BasicEntityPersisterTypeValueSqlTest.php` (+93 -0) 📝 `tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php` (+31 -0) 📝 `tests/Doctrine/Tests/ORM/Query/UpdateSqlGenerationTest.php` (+32 -0) 📝 `tests/Doctrine/Tests/OrmFunctionalTestCase.php` (+12 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:57:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7840