[Opensource] AutoDBObject
Salvador Cadena
salvador.cadena at isol.com.mx
Sun Jul 28 23:40:58 PDT 2002
Hi,
I went over all the code, and found the same thing,
Since the DBObject uses the class name to register
The definition of any new DBObject, and this information
Is static for the class, once the getDef() method receives
The class name (AutoDBObject)It saves the structure in the
Field pointing to DBObjectDef class. It seems you can only have
One AutoDBObject per session.
I haven't tried this, but maybe if you create one DBObject that
extends the AutoDBObject class, you could have different class names
For each AutoDBObject, so, you will have one definition for
Each one. After all, you still will saving the SetupField method
For each DBObject, since the method SetTargetTable do it for you.
I hope this helps.
Good Luck!
Salvador Cadena
salvador.cadena at isol.com.mx
Tels. (52) 55 5523 3962
(52) 55 5523 6992
Mobil 044 55 85804207
-----Original Message-----
From: opensource-admin at jcorporate.com
[mailto:opensource-admin at jcorporate.com] On Behalf Of BSC
Sent: Sábado, 27 de Julio de 2002 09:53 p.m.
To: opensource at jcorporate.com
Subject: [Opensource] AutoDBObject
Is anyone using AutoDBObject? I am running 4.02 and when I call DBMaint
with AutoDBObject it doesn't work the 2nd time around (when a different
table is requested the 2nd time with the &table parameter). It looks
like the DBObjectDef is set on the 1st request but then not reset to
reflect the meta data of the table in the 2nd request. This would be
fine for any other DBObject but not AutoDBObject?? Anyone run into
this? Am I missing something here? Here's the url I used:
http://localhost/DBMaint.do?dbobj=com.jcorporate.expresso.core.dbobj.Aut
oDBObject&table=event_dates&state=List
Thanks,
---
Aime
_____________________________________________________
Supercharge your e-mail with a 25MB Inbox, POP3 Access, No Ads and
NoTaglines --> LYCOS MAIL PLUS.
http://www.mail.lycos.com/brandPage.shtml?pageId=plus
_______________________________________________
Opensource mailing list
Opensource at jcorporate.com
http://mail.jcorporate.com/mailman/listinfo/opensource
Archives: http://mail.jcorporate.com/pipermail/opensource/
More information about the Opensource
mailing list