query syntax exception is not mapped code example
Example 1: query syntax exception is not mapped
@Query( value = "some sql query ...", nativeQuery = true)
Example 2: ast querysyntaxexception is not mapped
Query query = entityManager. createQuery("Select UserName from **UserDetails** ");
Example 3: ast querysyntaxexception is not mapped
List result = session.createQuery("from User", User.class).getResultList();