1

I have implemented in my spring boot project olingo-odata2 library . When I try this query in olingo-odata2 version 2.0.7

/api/v1/reports/Users?$filter=startswith(Description,'a') eq true

it works fine but in this version I cannot filtering in expanded property. when I try the query in version 2.0.10 I get this error:

Query: `SELECT E1 FROM User E1 WHERE (E1.description LIKE CONCAT(?2,'%') ESCAPE '\' ) ORDER BY E1.id

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''\' order by user0_.id' at line 1

Maarten Bodewes
  • 90,524
  • 13
  • 150
  • 263
M1r1
  • 197
  • 2
  • 10

0 Answers0