How to order result of hibernate based on a specific order

前端 未结 6 1945
别那么骄傲
别那么骄傲 2021-01-07 19:15

I need to send a query to retrieve values that has a specific group of characters as following:

Lets say I am interested in \'XX\' so it should search for any field

6条回答
  •  [愿得一人]
    2021-01-07 20:12

    Run two selects, one filtered for all the strings starting with 'XX', the second filtered for the others.

提交回复
热议问题