0
JPA Query
을 Play Framework 1.2.5에서 성공적으로 실행하려고합니다.Play Framework 1.2.5에서 JPA 쿼리를 실행하는 방법
는이 같은 시도 :
Query query = JPA.em().createQuery("select * from Book");
List<Book> articles = query.getResultList();
render(articles);
하지만 오류가 얻을 :
The file /app/controllers/Application.java could not be compiled. Error raised is : Query cannot be resolved to a type
내가 할 해 무엇?