[Opensource] Using OtherDBObject in Expresso 5.0
Javier Campoamor
jcampoamor at lapize.com
Thu Oct 17 13:52:46 PDT 2002
Hi,
When you associate an DBObject to a database (context), it doesn't
matter if you specify another context, even the default context, the
DBObject always tries to search the associated context.
If you want to use the same DBObject in different contexts, you
shouldn't associate it with a context in the Schema. Later, when you use
the DBObject, you can specify the context dynamically.
// Marca will be linked to the TELCOMUNITY context (there will be an
entry in the DBOtherMaps table for this)
addDBObject( "com.lapize.telcomunity.dbobj.Marca", "TELCOMUNITY"
);
// Telefono won't be linked to any specific database.
addDBObject( "com.lapize.telcomunity.dbobj.Telefono" );
Regards
Javier
-----Mensaje original-----
De: opensource-admin at jcorporate.com
[mailto:opensource-admin at jcorporate.com] En nombre de Devos, Edward
Enviado el: jueves, 17 de octubre de 2002 15:43
Para: 'opensource at jcorporate.com'
Asunto: [Opensource] Using OtherDBObject in Expresso 5.0
Hi All,
I'm testing the otherDBObject method to have two seperate databases, one
for expresso tables, and one for the applications own tables. but Im
running into the following problem now:
I'm logged in as Administrator in the default context!
More information about the Opensource
mailing list