Open sungongpeng opened 1 month ago
look like Pull Request https://github.com/SAP/olingo-jpa-processor-v4/pull/303 would fix Issue 2: $count
Issue 1: query build need a fix for oracle, like the fix for Sysbase in pull/303
For a quick fix you remove module odata-jpa-processor-cb from you pom.xml or gradle file.
Try to generalize PR 303
Version 2.1.0 Database: Oracle 19c Issue 1: query build appending "OFFSET n LIMIT m" to a query, This is incorrect for Oracle database.
For Oracle, the correct SELECT * FROM TABLE offset n rows FETCH NEXT m rows ONLY
Issue 2: $count got error: class java.math.BigDecimal cannot be cast to class java.lang.Long (java.math.BigDecimal and java.lang.Long are in module java.base of loader 'bootstrap'