[Hibernate] Problem configuring Hibernate with mappings via an InputStream

2005-02-07 Thread Safdar Kureishy
Hi,   I have an InputStream object that is constructed from a hibernate XML config file (in some other place) and I am trying to get the mappings contained within it read into the Hibernate Configuration object.   Ideally I could use the method configure(File file), but since I don’t ha

[Hibernate] Why is the element required in the hibernate config (XML) file?

2004-12-15 Thread Safdar Kureishy
Hi,   I couldn’t find any discussion on this topic so am posting this to the newsgroup …   I am running into a situation where I want to initialize a Hibernate Configuration object from a hibernate cfg file, but without any mappings (i.e without any elements). Instead, I want to add th