Hi Michael, Check what is in your entity: usually, blob values are streams, and get hydrated and persisted as such.
Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 10 November 2015 at 08:31, Michael Drewek <[email protected]> wrote: > Hi, > > I'm using Doctring with Oracle in a project. One of my entities has an > attribute mapped with type "blob" to an Oracle column. > > This column is nullable. However, if I persist one object of this entity > without setting the blob-attribute, an empty blob exists in the column > afterwards. It has a size of 0, but the column is not considered NULL by > the db. > > If i use SQL to insert a record without having data for the blob column, > it is considered NULL. > > Is this the intended behavior? Actually, I don't want to check the size of > the stream returned by the entity, just to see that the blob is empty... > > Is there something I can do to work around this? > > Thanks for any help. > > Regards > Michael > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
