Update compatibility layer to explicitly use :entities based on dynamic *as-str* variable to fix JDBC-49