Do we have to pass to the mapping file information to the configure () method? Because when we have the XML configuration, we can just use configure () but when the name of the XML file is different, other than hibernate.cfg.xml, we pass the name of the XML file to the configure () method. Similarly, for the above case, do we have to pass the hibernate.properties as a parameter to the configure () method??
I'm just not hijacking this
thread, but I was wondering if this could be linked to the problem that was posted above?