When I add two empty column to the beginning of the table
then ordering of the last two column causes error: "java.lang.IndexOutOfBoundsException: Index: 8, Size: 8".
Query request have first two column data empty:
column[0].data and column[1].data .
In class org.springframework.data.jpa.datatables.AbstractPredicateBuilder.createPageable() line 57
I found exception IndexOutOfBoundsException.
My table has 10 columns. First two are empty. When I order by 8 column I see that was created SQL query with "order by" on the 10 column.
When I add two empty column to the beginning of the table then ordering of the last two column causes error: "java.lang.IndexOutOfBoundsException: Index: 8, Size: 8".
Query request have first two column data empty: column[0].data and column[1].data .
In class org.springframework.data.jpa.datatables.AbstractPredicateBuilder.createPageable() line 57 I found exception IndexOutOfBoundsException.
My table has 10 columns. First two are empty. When I order by 8 column I see that was created SQL query with "order by" on the 10 column.