• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with hibernate.cfg.xml file.

 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I am Chaitanya, I am new to hibernates. I am trying to execute a sample program. I wrote thisAnd the hibernate.cfg.xml filesThe java file is under package hibernates. hibernates.cgf.xml file is in the outside the package.

When I was trying to run the program I got an error message station "hibernate dialect must be mentioned explicitly". So I hard coded the dialect in the main program. It worked fine.

Then I removed the dialect from the program and moved the program next to the hibernate.cfg.xml file. Again it dint work.

What is the problem? Can anyone help me?

Thank you all in advance.
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, I forgot to mention this
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic