We will be supporting more than one database type as a deployment option. It looks like I’m going to have to resort to using the createNativeQuery call on EntityManager as I’m going to need to run some queries not supported in JPQL. Is there a convention for hot-swapping queries depending on the target database you are working with?
Thanks