Skip to main content

Blog Archive for mriem during August 2007

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog OK, native queries in JPA. Not really well documented. Of course I understand that we really should not be doing that, but hey there are times where it is just plain easier. The following code snippet goes after an Oracle sequence and gets the value. EntityManager em = this.getEntityManager();Query query = em....