[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2701) org.hibernate.criterion.Example.toSqlString()

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sun Jul 15 22:00:52 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27505 ] 

Diego Pires Plentz commented on HHH-2701:
-----------------------------------------

I don't understand what you are trying to do. Could you provide more information?

> org.hibernate.criterion.Example.toSqlString()
> ---------------------------------------------
>
>                 Key: HHH-2701
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2701
>             Project: Hibernate3
>          Issue Type: Improvement
>          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