I am getting this exception
org.hibernate.hql.ast.QuerySyntaxException: attraction_main is not mapped [SELECT c FROM attraction_main c WHERE c.Att_name='Greate America']
the syntax of query is correct it seems that the potential cause of exception
that I found in server log is
INFO [Environment] hibernate.properties not found
can any one help to resolve this problem asap I really appreciate your help.
Hi Harsh !
What is "attraction_main" ? Is it an EJB ? If yes: please post the definition of it.