Sybaris, Empty string is equivalent to a null. It has no meaning. At that point, I would like to have a null there rather than '' In Oracle, you make the column nullable.
On Mon, Apr 19, 2010 at 1:49 AM, Sybaris <[email protected]> wrote: > addendum: > > Quote: > > "It actually makes sense, you are using empty strings to represent > null. The > columns SHOULD be null" > > first of all: When I save an empty string to a DB then I expect an > EMPTY STRING to be there and not NULL! but that's a question for > philosophers probably... > > But after all: How should I handle this issue with CAR? When I save an > empty string to an Oracle DB it gets converted to NULL but I can't > query for a NULL string with CAR/NHibernate - This seems like a dead > end street to me...? > > I actually thought that this is an issue that CAR abstracts away from > me, but at least it should provide a way to handle this problem... > Right now I'm feeling stuck... > > G. > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Users" group. > To post to this group, send email to [email protected] > . > To unsubscribe from this group, send email to > [email protected]<castle-project-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/castle-project-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
