kotlin-jdsl icon indicating copy to clipboard operation
kotlin-jdsl copied to clipboard

Support of Sort.NullHandling from Spring

Open mikoaj-pe opened this issue 8 months ago • 1 comments

Hi I don't know if you are aware of this, but the findPage(pageable: Pageable) method does not fully cope with Sort from Spring. It manages to pass the direction and parameter name to the query, but loses information about NullHandling somewhere (NULLS_LAST etc.). So when I build Pageable with Sort looking like Sort.by(Order(DESC, "createdAt", NULLS_LAST)) - in query I only see "order by *.createdAt desc"

So I don't know if it's a bug or not yet implemented feature but I just want to let you know

mikoaj-pe avatar Jun 28 '24 11:06 mikoaj-pe