In my project i'm using the hibernate query language to query the data from my database.I'm maintaining my classes in package name as "in.susee".While i'm comparing the two table using HQL, compiler shows the QuerySyntaxError because of my package name starting word "in."
Eg. query : select station from Station station,Branch branch where station.branch.id=branch.id
Internally compiler uses the my class name with package extension.So the word "in." is keyword in sql so it is creating the problem.After i changed my package name as "com.susee" it's all fine to work..
Is there any way to continue my project with package name "in.susee"...???
Thanks in Advance..
|