wood burning stoves 2.0*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate DTD" Watch "Hibernate DTD" New topic
Author

Hibernate DTD

Darren Massel
Greenhorn

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.

HELLLLLP!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate DTD