Replies: 1 comment 3 replies
-
First of all, the keyset always only contains the state from the order by clause, so I guess your example just misses that? I would argue that the keyset should contain exactly the representation by which you order by, so if you order by In the meantime you can avoid uncertainty by using an order by clause that orders by individual components. |
Beta Was this translation helpful? Give feedback.
-
What types should i expect in the keyset returned by blaze persistence? The ones defined in the selected entity i guess: string column -> string in keyset. But what about embeddables?
I have the following Entity:
With this Id record (could also be a class, shouldn't matter):
And this embeddable:
Now, if i want to use keyset pagination with
ExampleEntity
, which types should i expect the returned keyset to contain?[ExampleId, String, Address]
[UUID, String, String, String]
Example code:
Why am i asking? Well, the behaviour seems to have changed from A to B with the update 1.6.9 -> 1.6.10, at least for the embedded id.
Beta Was this translation helpful? Give feedback.
All reactions