Thx, It seems I have to set the key-cache-size in the jdo meta data. Where can I put that value in Isis?
> Op 29 jan. 2015, om 16:22 heeft Dan Haywood <d...@haywood-associates.co.uk> > het volgende geschreven: > > 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 >> >>
smime.p7s
Description: S/MIME cryptographic signature