
Can we write more than one hibernate.cfg.xml file... ? if so how can we call and use it.?
can we connect to more than one DataBase from a single Hibernate program.?

Hi,
Its not possible to connect to multiple database using a single cfg.xml file. You may need multiple configuration files and multiple SessionFactories. If the requirement is like having multiple databases connections in a single environment then you will need different SessionFactories for each of the DB.
Thanks and Regards,

Thanks u Devki..