Hello all,
Say I have a customized class called Money. I would like to model an entity bean called Account that has a field called balance of type Money.
@Entity
public class Account implements Serializable {
private Money balance;
@Column(nullable=false, columnDefinition="bigint")
public Money getBalance() {
return balance;
}
...
}