Jump to content
We've recently updated our Privacy Statement, available here ×

Problem in Spring loaded hibernate connection


venubodige

Recommended Posts

 

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...