Just a note, since Scala 2.8, the annotation syntax has changed. The above example won't work anymore. Here is an updated model I am using:
@Table( name="Foo" )
var id:Int = 0
var name:String = null
Notice the Parens instead of the Brackets and there are no more val declarations needed.