File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

missing hibernate.cfg.xml?

 
mr carp
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any situation in which it would be normal for this file to be missing?
I have never used Hibernate before and the role I was just assigned to is having an issue where, in a clustered environment, duplicate messages are being sent. It's not occurring when there's just using one server.
They believe this might have something to do with the optimistic locking not working correctly.
I started out looking for an easy solution and haven't been able to located the .cfg.xml. Would the application compile and build without this? I couldn't find a hibernate.properties, either.

Thanks!
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the application is using Spring Framework, then the whole configuration could be in a spring configuration file instead.

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic