Thank you Laszlo for your suggestion !
But for the time being I'm just evaluating (and learning) Struts and
Cayenne. I try to implement a very simple application and I would
like to have the possibility to call setUsername() and setPassword()
on an instance of some object to eventually get a valid DataContext.
(For example with Sun JDO you can get a PersistenceManager from
a factory by specifying a user/password)
I've seen in the doc that DataSourceInfo provides methods to set
name and password but I couldn't find out how to rely a DataContext
to a particular DataSourceInfo through a Configuration or a Domain
or whatever. Of course it is done by cayenne behind the scene in some
way and I would like to code it by myself.
-- ______________________________________________Jean-Paul Le Fèvre - Jean-Paul.LeFevr..ea.fr
This archive was generated by hypermail 2.0.0 : Tue Mar 04 2003 - 10:58:32 EST