As you can probably tell from the question, I'm still a beginning
programmer and just learning Scala/Lift, however, I do have a basic
understanding of the difference between option types and null
references. In this particular case, there are definite cases where
the field will be assigned a valu
Just to check -- are you familiar with the difference between option
types and null references in scala? It's an important distinction and
it's very important with Lift.
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
All MappedForeignKeys are Nullable.
If you've got
object theUser extends MappedLongForeignKey(this, User)
You can set the field to null with:
theUser(Empty)
Does that help?
On Thu, Jun 4, 2009 at 8:21 AM, DavidV wrote:
>
> What is the proper way to create a MappedForeignKey that is optional?