Last active
August 29, 2015 14:06
-
-
Save marti1125/7f60d305ff5bece23231 to your computer and use it in GitHub Desktop.
create native query in play framework
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String queryUpdateClases = "select MAX(fecha) from Reunion where clase_id = 3189499 and fecha > '2014-09-04'"; | |
| Query ejecutarUpdateClases = JPA.em().createNativeQuery(queryUpdateClases); | |
| ejecutarUpdateClases.getResultList(); | |
| System.out.println("fechaa " + ejecutarUpdateClases.getResultList().get(0)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment