aspose file tools
The moose likes Object Relational Mapping and the fly likes Connecting to multiple DataBase Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply locked New topic
Author

Connecting to multiple DataBase

v chenna
Greenhorn

Joined: Dec 28, 2009
Posts: 11
I am developing struts application integrating Hibernate which it has to support to connect multiple databases with out changing the code.

For example, client has his own choice to select a data base(Oracle,SQL Server,My SQL...) code has to support.

please provide the code or any link or clue for this
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
 
subject: Connecting to multiple DataBase
 
Threads others viewed
How to connect multiple databases at a time using Hibernate
Connecting to multiple DataBase
jdbc batch
compare java with others
Effective Java
MyEclipse, The Clear Choice