SyntaxFix
Write A Post
Hire A Developer
Questions
I use EclipseLink. This JPA allows the following way for the native queries:
Query q = em.createNativeQuery("SELECT * FROM mytable where username = ?username"); q.setParameter("username", "test"); q.getResultList();