MariaDB column with auto increment

Markus Reich <[email protected]>
Newsgroups gmane.comp.java.cayenne.user
Message-ID <CAGscxrwuAo62GbdpRH_O7qVWV0ry8r=-MNGFK3_WLgQTmSz8aQ@mail.gmail.com>
Hi,

I'm using Cayenne 4.1.
I have an an object A with an one to one relation to another object B,
in object B I got an column with an autoincrement field (no PK).
Now when I create an new object A / B the value of the column stays at 0.
I tried to refresh with object contexts invalidateObjects method and with a
RefreshQuery but it stays 0?

regards

-- 
*Markus Reich*
Waldweg 62
6393 St. Ulrich am Pillersee
www.markusreich.at / www.meeximum.at
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.