wood burning stoves
The moose likes Object Relational Mapping and the fly likes Hibernate DTD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate DTD" Watch "Hibernate DTD" New topic

Hibernate DTD

Darren Massel

Joined: Dec 16, 2004
Posts: 1
<!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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Hibernate DTD
It's not a secret anymore!