CMP & Multiply databases
From: mac (maciej.bajolek_at_interia.pl)
Date: 12/08/03
- Next message: Thijs David: "Newbie : interbase , socket connection error"
- Previous message: Lee Fesperman: "Re: newbie: jsp / ms sql - nested queries problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 8 Dec 2003 22:52:44 +0100
Hi,
I have the following problem:
Is there any mechanism (pattern) for EJB applications, which allows
switching from one database to another, depending on user role. In other
words:
if (User1 calls bean method)
use DataSource1
else
use DataSource2
The problem is that must be aplied with CMP enity beans.
Is it possible?
-- best regards maciek
- Next message: Thijs David: "Newbie : interbase , socket connection error"
- Previous message: Lee Fesperman: "Re: newbie: jsp / ms sql - nested queries problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]