<< First symfony 1.1 workshop in Atlanta, USA Doctrine 1.0.3 Released! >>

New hydration modes for Doctrine 1.1

New hydration modes for Doctrine 1.1

Posted by romanb 3 months ago

I would like to announce the addition of two new hydration modes to the 1.1 branch that will be included in the 1.1 release.

We feel that they fill an important gap between HYDRATE_NONE and HYDRATE_RECORD/HYDRATE_ARRAY.

You can read more about the new hydration modes in the docs. Starting at "Fetching data". You can also take a look at the new test case.

We encourage everyone to try them out and give us some feedback. Note that this is a feature preview and the implementation and syntax might change (or not) until the final 1.1 release, depending on how many issues arise and depending on the feedback.


Comments (3) [ add comment ]

Update - Posted by Robert Henniger about 3 months ago.

Thanks, thats a great improvement. It was very time wasting to write own "hydration" on top of the output of doctrine. Now the HYDRATE_SCALAR fits my needs. Thanks for this great framework and the perfect support. Robert

Great improvement - Posted by nodkz about 2 months ago.

Cool! It is exactly that thing, which takes forward place in our system.

GREAT - Posted by Hélder Silva about about 1 month ago.

What a relief :P i'm currently using HYDRATE_NONE in one function of my code, but this will help me remove some of my old raw sql code.

Many thanks.

P.S:I'm trying to make my companie to make some notation to the doctrine project, since it help'ed us alot :)

Create Comment
Enter 'follow the doctrine' without the quotes