• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring Hibernate Integration

 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The integration of Spring with Hibernate is a nightmare. I tried many things to integrate but it is keep on failing with or other reason. Currently, it is failing with following errors



Here is my pom.xml



Now, when I am running the maven validation it is failing but it is allowing me to compile the code



But I am able to compile the code.

Could you please suggest what would be the correct dependency to run a Spring MVC + Hibernate project.
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are using the wrong dialect of hibernate. Can you post your spring configuration? How have you configured hibernate? Is it in spring or persistence XML? Post that too
 
Fidel Edwards
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jayesh A Lalwani wrote:You are using the wrong dialect of hibernate. Can you post your spring configuration? How have you configured hibernate? Is it in spring or persistence XML? Post that too



Here is the directory structure,


applicationContext.xml



DataSource.xml



Hibernate.xml

DeploymentType.xml



I am using a simple main class from where I am instantiating the bean. But getting that error

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic