public annotation JoinColumn( name as String, referencedColumnName as String = "", nullable as Boolean = true )
Maps an entity relationship to one relational join column.
An explicitly supplied nullable value also defines relationship optionality when @ManyToOne or @OneToOne leaves optional unspecified. Supplying contradictory explicit values is a mapping error.
@JoinColumn(name="customerId", referencedColumnName="id") public property customer as Customer