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

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Mon Apr 16 13:02:04 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen closed HHH-2570.
------------------------------------

    Resolution: Rejected

use the user forum.

(hint: show the actual mappings when you post!)

> 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