public class HibernateToSqlTranslator extends Object
Constructor and Description |
---|
HibernateToSqlTranslator() |
Modifier and Type | Method and Description |
---|---|
static String |
toSql(org.hibernate.Criteria criteria)
Do not use in production code! Only for testing purposes only.
|
static String |
toSql(org.hibernate.SessionFactory sessionFactory,
String hqlQueryText)
Do not use in production code! Only for testing purposes only.
|
public static String toSql(org.hibernate.Criteria criteria)
Criteria
to plain SQL string query.criteria
- public static String toSql(org.hibernate.SessionFactory sessionFactory, String hqlQueryText)
sessionFactory
- hqlQueryText
- Copyright © 2016 evolveum. All rights reserved.