Hi Christopher,
> Instead of calling > > PersistenceBroker broker = > PersistenceBrokerFactory.defaultPersistenceBroker(); This always returns a PB associated with the repository specified in the OJB.properties file. If you only use a single DB it is possible exclusively use this method (does the same as "createPersistenceBroker()" in the older versions). HTH, Armin > or > PersistenceBroker broker = > PersistenceBrokerFactory.createPersistenceBroker(key); > > to get the default broker in OJB.properties, can I set the PBKey at startup, > so that I do not have to pass PBKey to PersistenceBrokerFactory everytime I > need to get an instance of broker? In 0.9.4, I was able to call > "PersistenceBrokerFactory.createPersistenceBroker(filepath)" once, and I can > get the same broker everything time I called > PersistenceBrokerFactory.createPersistenceBroker(); > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
