tags:

views:

39

answers:

1

Can any one send me the code to connect to multiple databases through hibernate. I desperately need it..

Thanks in advance.

A: 

No we can't send you the code. This being said you may checkout the Hibernate Shards project which allows you to connect to multiple databases while continuing to use the standard API. The documentation is a good start. Don't hesitate to ask if you encounter some specific problems implementing the solution.

Darin Dimitrov
can you send me the link where i can find the code? I am not talking about Hibernate Shards but about using session factories.
Om Yadav