I have a long field in my database that I want to have a unique index
(enforced by the database).  Sometimes this field will be empty, in
which case I'd like to set it to NULL.  0 won't work because that
won't work with the unique index.

MappedLong appears to be converting null to 0 internally.
Additionally overriding defaultValue for the field and returning null
does not appear to work.

Is this by design? Is it possible that I am misunderstanding something
here?

-harryh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to