[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2570) unable to get property on

Dean Turner (JIRA) noreply at atlassian.com
Mon Apr 16 11:15:04 EDT 2007


unable to get property on
-------------------------

                 Key: HHH-2570
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2570
             Project: Hibernate3
          Issue Type: Bug
          Components: query-hql
         Environment: Hibernate 3.2.3, Microsoft SQL Server 2003
            Reporter: Dean Turner


Given this class:

public class Loan {
    public String getValue(){
        return "myValue";
    }	
    public void setValue(String s){		
   }
... addtional properties
}


Why can I not do the following hql?

select loan.value from Loan as loan where ....

I get 

could not resolve property: value of: com.famc.los.model.Loan [select loan.value from com.famc.los.model.Loan as loan where loan.id = 'AB]:<']; 






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