Sorry, meant to reply to list for posterity...hit wrong button...repost
below:

Thanks.  So how do we swap JdbcConnectionDescriptors now?  I'm used to
dealing with metadata manager (I have a completely new descriptor
pointing to a new database that I want to configure at runtime)

Cheers
Adam


On Sat, 2005-07-02 at 10:18 +0200, Thomas Dudziak wrote:
> On 7/2/05, Adam Jenkins <[EMAIL PROTECTED]> wrote:
> > >From 1.1 onwards, should all access be through
> > org.apache.ojb.broker.OJB? (i.e. instead of using QueryFactory,
> > PersistentBrokerFactory etc)
> 
> Yes, that's the idea. OJB 1.1 is meant to be completely instance-based
> (as opposed to 1.0 where static parts are used). So in short, you
> should create an OJB object and store it away somewhere, and use this
> object whenever you want to access the database.
> To make migration easier, we maintained the PersistentBrokerFactory,
> though it is likely to become deprecated in the final 1.1.
> 
> Tom
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to