#1492: Non-selected fields appear in query results
------------------------------+---------------------------------------------
Reporter: colnector | Owner: romanb
Type: defect | Status: new
Priority: major | Milestone:
Component: Query/Hydration | Version: 1.0
Resolution: | Keywords:
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 0 |
------------------------------+---------------------------------------------
Comment (by jwage):
If we don't have primary keys then the data can't be properly hydrated in
to the object graph. It is simple, primary keys allow us to `identify` one
record from another. Without them we aren't able to hydrate the records in
to the right place.
I think using HYDRATE_NONE might help you, or maybe the new scalar
hydration we're implementing in 1.1 will help solve some problems.
http://trac.doctrine-project.org/ticket/1141
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1492#comment:9>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---