inherit problem

2004-05-03 Thread Carles Duque
Hello!! I have a problem witth retrieve two classes in a two tables. Classes: A and B. B estends A. When I have one class (example: A) I see if Id (getId()) is null. If its true, I do select MAX and I assing to class (setId()). This work ok, always. In the new case (A and B), when I retrieve

Re: inherit problem

2004-05-03 Thread Stefan Schlösser
Hi, auto-retrieve does not require auto-increment to be set. You likely made a misstake in your class-definitions and or repository declarations. Stefan Carles Duque wrote: Hello!! I have a problem witth retrieve two classes in a two tables. Classes: A and B. B estends A. When I have one

RE: inherit problem

2004-05-03 Thread Carles Duque
-descriptor This is correct, isn't it? Carles -Mensaje original- De: Stefan Schlösser [mailto:[EMAIL PROTECTED] Enviado el: lunes, 03 de mayo de 2004 12:52 Para: OJB Users List Asunto: Re: inherit problem Hi, auto-retrieve does not require auto-increment to be set. You likely made