About Question com.enthuware.ets.scbcd.v5.2.71 :
Posted: Tue Sep 20, 2011 5:22 pm
Hi what's wrong with option 3?
@Id private Integer acctid;
private Double balance;
public Integer getAcctid() { return this.acctid; }
public void setAcctid(Integer acctid) { this.acctid = acctid; }
@Basic(fetch=LAZY)
public Double getBalance() { return this.balance; }
public void setBalance(Double balance) { this.balance = balance; }
@Id private Integer acctid;
private Double balance;
public Integer getAcctid() { return this.acctid; }
public void setAcctid(Integer acctid) { this.acctid = acctid; }
@Basic(fetch=LAZY)
public Double getBalance() { return this.balance; }
public void setBalance(Double balance) { this.balance = balance; }