hi
according to the hibernate documentation
use multiple session factory for multiple database
but why you give the option
catalog
Code:
<class name="com.myaplication.pojo.BusinessInformation" table="tablename" catalog="databasename">
in the hibernate hbm file
if i mention different database in the catalog
option the my query is executed in the
different database successfully
can you explain me what are uses of
catalog option in the hibernate hbm file
and what is the demerits of
one session factory for multiple database
here i clear that i m using
one database server
and in one database server , i have multiple database
please help me