[Zope] Connect to rdbms from a product

mlong at datalong.com mlong at datalong.com
Fri Nov 7 13:00:13 EST 2003


Thank you for the hint. Zope has once again proven to be a good friend after giving
the secret handshake :)) The syntax is DAinstance().query(my_sql_statemtent)

> - the first step is to install the corresponding DA with a proper
> configuration
> - then you can use either filesystem based ZSQL methods (requires
>    CMF or SkinnedFolder I think) or you acquire the DA instance from within
>    your instances and call SQL directly ( DAinstance.query() I think).
>
> -aj
>
> --On Freitag, 7. November 2003 11:53 Uhr -0500 mlong at datalong.com wrote:
>
>> Hi,
>>
>> Are there any FAQ's, recipes, etc. that explain how to access a database
>> from within a product. I am on a win2k os connecting to SQL2K. I tried
>> looking at the source for ZODBCDA, exUserFolder and googling but have
>> come away confused. I know that ZODBCDA is not recommended but I am
>> building a prototype that if works will allow some dollars to be spent
>> for a more robust solution. If someone could point me in the right
>> direction I would appreciate it.
>>
>> Thanks,
>> Mike
>>
>> _______________________________________________
>> Zope maillist  -  Zope at zope.org
>> http://mail.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>>  http://mail.zope.org/mailman/listinfo/zope-announce
>>  http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>




More information about the Zope mailing list