I'd like to make my application powered by Spring Data JPA transparently compatible with both MSSQL and Oracle. My application contains a few pieces of native SQL queries and ideally I'd like to organize this as the usual common Spring Data repository XXXRepository
with vendor-independent JPQL queries and a couple of extensions as the vendor-specific Spring Data repositories like XXXOracleRepository
/XXXMSSQLRepository
with vendor-specific native queries.
Is it possible ?