dtd « cfg « JPA Q&A





1. error in hibernate.cfg.xml dtd or in documentation    forum.hibernate.org

Hi there, hibernate 2.1.1 hssql hmm looks like there is a bug in the dtd of the hibernate.cfg.xml. As described in the docuymentation it is possible to add the mappings ala: fConfig = new Configuration(); fConfig.addClass(InputProfil.class); But the dtd of hibernate.cfg.xml require at least one mapping node. Is there any solution where i can just add my mappings with the java ...

2. DTD for hibernate.cfg.xml 3.2.6 and later    forum.hibernate.org