JRR
JRR

Reputation: 6152

extract *HQL* in Hibernate

Is there a way to extract the HQL from a Hibernate Criteria or get or load query? I have seen ways to extrac the SQL query from such objects but not HQL.

Upvotes: 0

Views: 699

Answers (1)

Ziul
Ziul

Reputation: 893

Criteria goes directly to SQL, but there is no direct public api to get it programmatically in HQL.

Upvotes: 1

Related Questions