Database ID and Item ID

Hello all,

I see in my application that database row id a item id in table using JPA container are same. But can I rely on it? Is there any chance they won’t correspond? If yes, how can I map database id to item id please?

Many thanks!

As mentioned
here
: “The item ID used by JPAContainer is the value of the ID property (column) defined with the @Id annotation.”

Correctness of the book should not be doubted, but I’m hesitant to promise “any chance” for it ever being something else. Cosmic rays, position of the moon, psychic powers, miracles, and other factors could perhaps affect it. It gets philosophical. And then there’s the bugs and unexpected API changes as well.

Influence of cosmic rays is the risk I can live with :slight_smile:

Thank you and merry Christmas!