Added a new configuration option: defaultQueryHints, which allows to populate all queries by default set of hints.
Fix comment
Allow to use object as a hint value.
Added support for NEW operator when using ArrayHydration if user desires to benefit from this funcionality.
Made AbstractHydrator::gatherRowData() more understandable without breaking functionality.
Add ExpressionBuilder::contains() to docs
Merge pull request #1015 from EvanDotPro/docs/expressionbuilder-contains

Add ExpressionBuilder::contains() to docs
Highlighted intention of converting scalar types during single scalar or scalar hydration, but leaving it commented and added a note about the BC reason why we cannot do that for 2.X series.
Abstract cache information of field result for hydrators.
Fixed issue if aliases were specific names, you would either get completely misleading results (dql alias: scalars) or a fatal error (dql alias: newObjects).
Finalized fix for scalars and newObjects.
[DBAL-878] Wrong mapping type

the type should be the mapping type, and not the name of the type. This
does the difference for simple_array, as the result should be
simple_array and not simplearray
Merge pull request #1018 from chandon/master

DBAL-878 Wrong mapping type
Heavily simplified code on simple object hydrator. Code cleanup on column information cache; by reference cache variable is no longer needed and protected variable is used in a standardized way everywhere.
Added type conversion to meta column in case a type is specified (such as a foreign key or discriminator column).
Made ClassMetadata to be reused during gatherRowData() and also during hydrateRow() to share same fetches instead of recalculating all info again. Performance improvement after 100x runs comparison is around 4%.
More optimizations around hydrators. Pretty much same performance, just better memory footprint (-0.25MB).
Readability update to hydrators.
created test case to reproduce error
fixed bug