Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can we add two datasource in one oracle-ds.xml

 
pravin karne
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
friends,

i want to use more than one database in one connection pool...
how can i configure the oracle-ds.xml...

Thank in advance
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pravin,

Welcome to JavaRanch

i want to use more than one database in one connection pool...


Do you mean you want to configure 2 datasources, in the same -ds.xml file? That's possible. Your oracle-ds.xml could contain:


This is just an example and shows how 2 datasources are configured in the same -ds.xml file

[ July 26, 2007: Message edited by: Jaikiran Pai ]
[ July 26, 2007: Message edited by: Jaikiran Pai ]
 
pravin karne
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jaikiran


My problem is get solved

Onnce again thanks for sending instance reply
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic