[hibernate-issues] [Hibernate-JIRA] Created: (EJB-301) org.hibernate.criterion.Example.toSqlString()

Nicholas Albion (JIRA) noreply at atlassian.com
Sun Jul 1 09:12:52 EDT 2007


org.hibernate.criterion.Example.toSqlString()
---------------------------------------------

                 Key: EJB-301
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-301
             Project: Hibernate Entity Manager
          Issue Type: Bug
          Components: Documentation
            Reporter: Nicholas Albion


I'm trying to create a query by example, and hopefully adapt the SQL to include joins on non-HSQL columns.

The documentation is confusing for
  org.hibernate.criterion.Example.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) 

I'm not sure how to obtain the CriteriaQuery parameter.  Google only managed to find an unanswered forum posting asking the same question.  The javadocs for CriteriaQuery only adds confusion to the matter:

Interface CriteriaQuery: This interface is not used by application code.
(http://www.hibernate.org/hib_docs/v3/api/org/hibernate/criterion/CriteriaQuery.html)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list