Exception:  org.hibernate.PropertyNotFoundException: Could not find setter for IEN on class ...MailLists
Code resulting in exception:
Code:
query.setResultTransformer(new AliasToBeanResultTransformer(MailLists.class));
Class generated by hbm2java:
Code:
public class MailLists  implements java.io.Serializable {
     private int ien;
    @Column(name="IEN", unique=true, nullable=false)
    public int getIen() {
        return this.ien;
    }
    
    public void setIen(int ien) {
        this.ien = ien;
    }
It seems like the problem is because the database table column name is IEN and the transformer is looking for setIEN().  I cannot change the generation of the MailLists class, so what other options are available to populate MailLists?
Thanks.