Register / Login
EJB and other Java EE Technologies
output EJB query in entity class
posted 8 years ago
Hello Does anyone know how to print the actual SQL query generated by EJBQL?
Suppose I have query = em.createNamedQuery("bla"); then setParameter for where clause. I can't just System.out.println(query); = this would give the object in
Given bla is like "select a from Account a where a.email=:email and ...";
How to print to give the select format?
K. Tsang OCPJP7 OCMJEA6
Boost this thread!
Regular Expressions in String.split()
[ASK] JDBC driver for DBF file, opensource
class name in choices.txt
Join as well as Criteria Query