• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Spring Hibernate Integration

 
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • 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
  • 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: 234
  • Mark post as helpful
  • send pies
  • 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

 
We can fix it! We just need some baling wire, some WD-40, a bit of duct tape and this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!