[jboss-user] [EJB 3.0] - org.hibernate.hql.ast.QuerySyntaxException: attraction_main

hkoshti do-not-reply at jboss.com
Sun Oct 28 02:39:04 EDT 2007


Hi

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.

Thank you
Harsh 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099632#4099632

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099632



More information about the jboss-user mailing list