This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate DTD

 
Darren Massel
Greenhorn
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.

HELLLLLP!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic