@ManyToOne(targetEntity=Customer.class) @JoinColumn(name="CUSTOMER_ID",nullable=false) public Customer getCustomer() { return customer; }