[Flow] DateTime with Oracle

Axel Wüstemann | Qbus Werbeagentur awu at qbus.de
Fri Sep 27 10:28:53 CEST 2013


Am 27.09.2013 10:21, schrieb Bastian Waidelich:
> Axel Wüstemann wrote:
>
> Hi Axel,
>
>> I need to use an Oracle database with tables and column names not to be
>> declared automatically by doctrine. So I declare all by annotations [...]
>> With the date property I get an error:
>>
>> Could not convert database value "2008-03-07" to Doctrine Type datetime.
>> Expected format: Y-m-d H:i:s
>>
>> In Oracle I set NLS_DATAFORMAT to yyyy-mm-dd.
>
> Maybe http://www.doctrine-project.org/jira/browse/DBAL-434 helps you
>
>
Thank you for this, I will try it. For now I keep it as a string an use 
the getter to convert to the appropriate display format. Lets see, what 
happens in next dev steps with it.

-- 
Qbus Werbeagentur GmbH

18055 Rostock, Heiligengeisthof 5
Tel:   0381 4 61 39 - 10 | Fax: - 22
21029 Hamburg, Chrysanderstraße 69A
Tel:   040 60 94 59 75
Mobil: 0179 46 455 46

www.xing.com/profile/Axel_Wuestemann
www.issuu.com/QbusAgentur/docs/qbus-referenzen?mode=embed

Handelsregister: HRB 11218 beim Amtsgericht Rostock Sitz der
Gesellschaft: Hansestadt Rostock
Geschäftsführer: Dipl.-Ing. Axel Wüstemann

www.qbus.de | www.qbus.de/qblog
www.facebook.com/QbusAgentur


More information about the Flow mailing list