This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connect to two connection pool  RSS feed

 
ahmad seddighi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, everybody,

I have two entity bean, associated with two different datasource and connection pool, how can I look up these two entity bean, and get them from one session bean.

now, when I looking up and get them, an exception throws :
Illegal attemp to connect two another connection pool.

regards
Ahmad R. Seddighi
[ June 22, 2004: Message edited by: ahmad seddighi ]
 
Slava Imeshev
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should a) set up both beans to use TXDataSources b) set up pools to use XA driver instead of plain JDBC drivers.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!