Hi Victor,

That's really a JDO/DataNucleus question; Isis just delegates to
DataNucleus to "do its thang".

This page might help [1].  FWIW, we tend to use IDENTITY rather than
INCREMENT.

Cheers
Dan


[1]
http://www.datanucleus.org/products/datanucleus/jdo/value_generation.html#increment

On 29 January 2015 at 15:10, Victor Oomens <vic...@oomens-ict.nl> wrote:

> Hi,
>
> I’ve defined an incremental field in a domain object like this:
>
> @Persistent(valueStrategy = IdGeneratorStrategy.INCREMENT)
> private long invoicenumber;
>
> This works fine, but there’s a small problem. Sometimes the NEXT_VALUE
> skips a couple of numbers. Where did I go wrong?
>
> Cheers,
>
> Victor
>
>

Reply via email to