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 api
addClass(Object.class); ?
Actually i have a dummy mapping in my hibernate.cfg.xml and add all othere mappings in my code, but this is a dirty hack.
Any hints how to solve the problem?
Thanks!
Stefan
|