Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
60f6020b
Commit
60f6020b
authored
May 17, 2009
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] Intermediate commit.
parent
4d13925b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
AbstractEntityPersister.php
lib/Doctrine/ORM/Persisters/AbstractEntityPersister.php
+1
-1
SqlWalker.php
lib/Doctrine/ORM/Query/SqlWalker.php
+2
-1
UnitOfWork.php
lib/Doctrine/ORM/UnitOfWork.php
+1
-1
No files found.
lib/Doctrine/ORM/Persisters/AbstractEntityPersister.php
View file @
60f6020b
...
...
@@ -35,7 +35,7 @@ use Doctrine\ORM\Mapping\ClassMetadata;
* @link www.doctrine-project.org
* @since 2.0
*/
abstract
class
AbstractEntityPersister
class
AbstractEntityPersister
{
/**
* Metadata object that describes the mapping of the mapped entity class.
...
...
lib/Doctrine/ORM/Query/SqlWalker.php
View file @
60f6020b
...
...
@@ -1042,7 +1042,8 @@ class SqlWalker
}
if
(
isset
(
$class
->
associationMappings
[
$fieldName
]))
{
//FIXME: Composite key support, inverse side support
//FIXME: Inverse side support
//FIXME: Throw exception on composite key
$sql
.=
$class
->
associationMappings
[
$fieldName
]
->
joinColumns
[
0
][
'name'
];
}
else
{
$sql
.=
$class
->
getColumnName
(
$fieldName
);
...
...
lib/Doctrine/ORM/UnitOfWork.php
View file @
60f6020b
...
...
@@ -1476,7 +1476,7 @@ class UnitOfWork implements PropertyChangedListener
if
(
!
isset
(
$this
->
_persisters
[
$entityName
]))
{
$class
=
$this
->
_em
->
getClassMetadata
(
$entityName
);
if
(
$class
->
isInheritanceTypeNone
())
{
$persister
=
new
Persisters\
Standard
EntityPersister
(
$this
->
_em
,
$class
);
$persister
=
new
Persisters\
Abstract
EntityPersister
(
$this
->
_em
,
$class
);
}
else
if
(
$class
->
isInheritanceTypeSingleTable
())
{
$persister
=
new
Persisters\SingleTablePersister
(
$this
->
_em
,
$class
);
}
else
if
(
$class
->
isInheritanceTypeJoined
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment