Add support for Scala Option type (rather than using null) as a parametrised type.
/** * Customer entity bean. */ @Entity @Table(name="o_customer") class SCustomer { @Id var id:Option[Int] = None; var name:String = null; var smallnote:Option[String] = None; @OneToMany(mappedBy="customer") @JoinColumn(name="customer_id") var contacts:Buffer[SContact] = null; }
Note the use of Scala Option for the smallnote property.
Fixed in HEAD.