I wnat to Convert HQL query to pure Oracle Query ?
Is there any translators for this.
Ex :
from Table1 –> Table1 is Entity class for Table
covert it as
select * from Table
Thanks in advane.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could simply turn on SQL logging in Hibernate and look at the queries it generates. Specifically, set this property:
EDIT: If stdout isn’t available to you based on the way you start your server, then you’ll want to change the hibernate logging configuration to print SQL debug logs. Add this line to your log4j properties file.