A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA/OCP Java SE 7 Programmer I & II Study Guide
this week in the
EJB and other Java EE Technologies
using 2 databases
Joined: Mar 15, 2002
Dec 31, 2003 16:04:00
I have to update 2 databases at same time... how can I persist an entity bean into two different databases (ie: Db2 and SQL Server)?
Joined: Jan 23, 2002
Jan 01, 2004 05:25:00
1) Use a BMP entity bean
2) Use your
container's proprietary features (not likely to exist)
3) Use a special
driver, which can do the update on two databases (don't know if such drivers exist)
Effective Unit Testing
Joined: Aug 10, 2001
Jan 01, 2004 07:58:00
How about use two different beans?
Kyle Brown, Author of
Persistence in the Enterprise
Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at
for other WebSphere information.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: using 2 databases
Doubt about type 2 driver
Configuring multiple database in JPA?
do we need 2 database files one rmi one local???
Type 2 driver
Correct approach ? Stored Proc (returning cursor) Vs Prepared statment
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014