venubodige Posted April 18, 2012 Share Posted April 18, 2012 Hi All,I have the applicationContext.xml on the classpath with the sessionFactory bean. I am using Spring loaded hibernate connection. Now when I test the connection I get a strange error:org.hibernate.hql.ast.QuerySyntaxException: unexpected token: Address near line 1, column 27 [select address as address Address as address]Even when i tried commenting out all the mappings in the XML file,still got same error. I do not have any Address table or mapping defined, its strange that how the above query is getting fired.Please help on this.Thanks in advance Link to comment Share on other sites More sharing options...
venubodige Posted April 18, 2012 Author Share Posted April 18, 2012 there is a real urgent requirement.. please help on this..plz..plz Unable to trace why the query is getting fired. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now