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]
