[Lift] Re: NULLable MappedForeignKey

2009-06-04 Thread David Pollak
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 david.v.villa...@gmail.com wrote: What is the proper way to create a

[Lift] Re: NULLable MappedForeignKey

2009-06-04 Thread Joe Wass
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