-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow ResultSetMapping to hydrate unmapped entity parameter #11548
Comments
The logic described above produce the following error:
It is because the The However, this annotation was removed before the attribute migration by #7095 and #10114 without any explanation of why referenced. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
Summary
While using the ResultSetMapping object to hydrate a doctrine-managed entity from a native SQL request I could not hydrate parameters that do not correspond to a db column.
the SQL query counts the total number of pages by book. I don't want to add a nb_pages column in my book table.
the entity :
the mapping :
The text was updated successfully, but these errors were encountered: