2

With Spring Data JDBC, named queries can be written in META-INF/jdbc-named-queries.properties.

Does Spring Data provide a mechanism to have multiple files? Ideally one for each SQL dialect, jdbc-named-queries_oracle.properties, jdbc-named-queries_mysql.properties, etc.

TylerH
21.2k83 gold badges84 silver badges121 bronze badges
asked May 12 at 14:14

1 Answer 1

0

No there currently isn't.

You could create a feature request on https://github.com/spring-projects/spring-data-relational/issues and maybe even submit a PR.

answered May 15 at 7:43
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.