There is no easy way to make DO4 use IDENTITY columns - mainly because it is designed to support bulk key generation (the so-called HiLo algorithm).
AFAIK, there are no good workarounds. For instance. DO4 supports specialized key generators, but it is rather difficult to develop an approach based on the IDENTITY column. In fact, it has to insert fake entries into packages and delete them further (or roll back the transaction) to work. Given that there may be columns with unique constraints, the task becomes quite complex.
We will think about implementing this in the future.
source share