Re: how can i get attribute from inbed object?

2005-11-19 Thread Michael Campbell
If "id" in your POJO isn't populated, you either need to let the database generate one for you or you provide a value. If you're letting the db do it for you, you don't include the id in your insert sql at all, but rather use the clause of the statement to get the db-generated id back to your PO

how can i get attribute from inbed object?

2005-11-19 Thread Alex Chew
 Hi, all would you please help me for following issue, thanks advance.  POJO:public class Account implements Serializable { private Long id; private String name;private Double deposit; private User handledby;} public class User implements Serializable {  private Long id; private String username;pri