RE: Insertion order issue

2021-11-05 Thread Lize Anthonin (OceanOPS)
don't think your custom PK generator will cause your current issue. Unless, of course, there is a bug. :-) It certainly can be annoying to set the sequence name/size for each entity, so I understand wanting to avoid that. mrg On Fri, Nov 5, 2021 at 11:09 AM Lize Anthonin (OceanOPS) wrote: >

RE: Insertion order issue

2021-11-05 Thread Lize Anthonin (OceanOPS)
ity -> PK Generation Strategy -> Custom Sequence -> enter Sequence Name and Cache Size -- looks like you are using 1). mrg On Fri, Nov 5, 2021 at 5:44 AM Lize Anthonin (OceanOPS) wrote: > Hi Michael, > > Thanks for your answer. > I tried, but does not seem to make

RE: Insertion order issue

2021-11-05 Thread Lize Anthonin (OceanOPS)
tps://cayenne.apache.org/docs/4.0/api/org/apache/cayenne/ashwood/SortWeight.html On Thu, Nov 4, 2021 at 10:38 AM Lize Anthonin (OceanOPS) wrote: > Hi, > > I am using Cayenne in a web app (through AgRest, but this is purely > cayenne related, well I think so) that contains one service through

Insertion order issue

2021-11-04 Thread Lize Anthonin (OceanOPS)
Hi, I am using Cayenne in a web app (through AgRest, but this is purely cayenne related, well I think so) that contains one service through a POST method. Basically, I submit a JSON body with multiple object in it, pass it through the service method defined below, process each object and for