Imagine I have a field in a persistent object, the field is not the primary key, and I want it to be unique. So the obvious choice to me is to use a sequence value from the db, so that I can avoid trying to calculate a value in java.
Is there an easy way to access that sequence value, from java, using Cayenne? Tony