some of the queries that are only available as private final fields in the classes are incompatible with certain databases, like Oracle.
for example JdbcChatMemory uses a query with limit which wont work on Oracle.
There's no easy way to fix this short of copy-and-pasting the entire class and excluding Spring AI's solution. if you provide a few setters or make the queries constructor arguments, that would be sufficient to unblock
please do this for anything that uses JDBC