On 7/2/05, Adam Jenkins <[EMAIL PROTECTED]> wrote: > 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)
In 1.1, we introduced with the PersistenceConfiguration a new indirection level that allows to configure JCDs and models more easily (though that part is not finished yet). In your case, you should create a new PersistenceConfigurationDescriptor and add it to the metadata manager via the addPersistenceConfiguration method. Then you can access it via the PBKey as before. Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
