Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Hibernate CharScanner; panic: ClassNotFoundException: org.hibernate.hql.ast.HqlToken
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


sudha
CharScanner; panic: ClassNotFoundException: org.hibernate.hql.ast.HqlToken
2 Answer(s)      5 years and 4 months ago
Posted in : Hibernate



Advertisement
View Answers

September 17, 2009 at 4:04 PM


Hi Friend,

Please clarify your problem.

Thanks


September 17, 2009 at 7:14 PM


Hi,
I am getting this error,when I was trying to fetch the data's from table.This is my code,
List qry = session.createQuery("from LoginBean").list();
Iterator it = qry.iterator();
while(it.hasNext()){
LoginBean log=(LoginBean)it.next();
System.out.print(log.getId());
System.out.print(" "+log.getName());
return "login";
}
I debug this code...when this line is executing(List qry = session.createQuery("from LoginBean").list();), after that getting this error.

Thanks,


Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com