After i insert a cat object i have one entry in table cats (that is correct) and two entries in the table animal. One of the two entries belongs to the cat table entry the other one has a new id.
I use OJB 1.0.1, jdk1.4.2_3, mysql-connector-java-3.0.9-stable.
Thanks for help,
Joined: Dec 08, 2004
I have solved my problem. I removed the id field in the extending class. Now only the root class had the attribute and all works fine. I don't understand why in the inherence description it is written that also the extending classes have the id attribute.