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 a class B, I do "select MAX", assign id,
but returns SQLException, because ID is null.
Is possible that if you put "auto-retrieve=true", you must use auto-increment?? Its
possible another solution?
Thanks!!!
Carles