Hibernate error - QuerySyntaxException: users is not mapped [from users]

前端 未结 19 2223
感动是毒
感动是毒 2020-11-30 20:14

I\'m trying to get a list of all the users from \"users\" table and I get the following error:

org.hibernate.hql.internal.ast.QuerySyntaxException: users is          


        
19条回答
  •  再見小時候
    2020-11-30 21:06

    If you are using xml configuration, you'll need something like the following in an applicationContext.xml file:

    
    
      
    
    
      
        org.browsexml.timesheetjob.model.PositionCode
      
    

提交回复
热议问题