You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Adam Jenkins <ma...@adamjenkins.net> on 2005/07/01 23:46:42 UTC

PBKey deprecated?

How do you get a PersistenceBroker now?  OJB.lookupBroker takes a PBKey
not PCKey...am I missing something?


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: PBKey deprecated?

Posted by Armin Waibel <ar...@apache.org>.
Hi Adam,

Adam Jenkins wrote:
> How do you get a PersistenceBroker now?  OJB.lookupBroker takes a PBKey
> not PCKey...am I missing something?
> 

The api for 1.1 is currently not fixed, so changes could/will be happen. 
The PBKey will be replaced by a PCKey (PersistenceConfigurationKey). The 
PersistenceConfiguration (PC) include one DB access 
(jdbc-connection-descriptor) and a persistent object model 
(class-descriptor's). The PC will be accessible by an alias name 
(instead of an jcd-alias used in 1.0.x, in 1.x you have to use an 
pc-alias name).
This was currently not full implemented (need additional changed in dtd 
and metadata classes).

Additionally we want to separate the PB-api from the OJB-kernel-api:
http://www.mail-archive.com/ojb-dev@db.apache.org/msg01113.html

regards,
Armin


> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org