[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-332) documentation error p.11: org.hibernate.Query should be javax.persistence.Query

Yev Belman (JIRA) noreply at atlassian.com
Sat Jan 3 17:42:38 EST 2009


documentation error p.11: org.hibernate.Query  should be  javax.persistence.Query
---------------------------------------------------------------------------------

                 Key: HSEARCH-332
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-332
             Project: Hibernate Search
          Issue Type: Bug
          Components: documentation
    Affects Versions: 3.1.0.GA
         Environment: Core 3.3.1.GA
Search 3.1.0.GA
            Reporter: Yev Belman


JPA example on page 11 is wrong: 

// wrap Lucene query in a org.hibernate.Query
org.hibernate.Query hibQuery = fullTextEntityManager.createFullTextQuery(query, Book.class);

It should read:
javax.persistence.Query hibQuery = fullTextEntityManager.createFullTextQuery(query, Book.class);

-- 
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