public void prepare() throws Exception { if (customer != null && customer.getId() != null) { this.customer = customerService.get(customer.getId()); this.customerHash = customer.hashCode(); } }