• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Spring Hibernate Integration

 
Ranch Hand
Posts: 244
  • 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: 244
  • 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

 
Getting married means "We're in love, so let's tell the police!" - and invite this tiny ad to the wedding:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic