• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate DTD

Darren Massel
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate configuration DTD/EN" "http://hibernate.sf.net/hibernate-configuration-2.0.dtd">

hibernate manual says that it checks the classpath first for the config file. This is not happening. I've tried every combination of paths and using SYSTEM instead of PUBLIC.
It will work with a full URL i.e. HTTP://blah or FILE:///blah
But I CAN'T GET IT TO WORK IF hibernate-configuration-2.0.dtd IS ON THE CLASSPATH.

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!