Jonas Nielsen wrote at 2006-4-27 11:56 +0200:
> ...
>The sense is that I would like to find an easy way to install my product
>without setting up the database connection manually. I guess the way to
>do it is to add some code in install.py then ?
That would work if you have a persistent object y
Hi Jonas,
Here is some code I use to create a DA during product installation:
from Products.mxODBCZopeDA.ZopeDA import ZopeConnection
security.declarePrivate('manage_afterAdd')
def manage_afterAdd(self, item, container):
# add mxODBC connection
conn_string = readDatabaseCon
Andreas Jung wrote:
--On 27. April 2006 11:56:39 +0200 Jonas Nielsen <[EMAIL PROTECTED]>
wrote:
Andreas Jung wrote:
Jonas Nielsen wrote:
Is it possible to store a database connection (i.e. a "Z MySQL Database
Connection") in a file system product ? How ?
What is the sense? You can no
--On 27. April 2006 11:56:39 +0200 Jonas Nielsen <[EMAIL PROTECTED]>
wrote:
Andreas Jung wrote:
Jonas Nielsen wrote:
Is it possible to store a database connection (i.e. a "Z MySQL Database
Connection") in a file system product ? How ?
What is the sense? You can not store persistent obje
Andreas Jung wrote:
Jonas Nielsen wrote:
Is it possible to store a database connection (i.e. a "Z MySQL Database
Connection") in a file system product ? How ?
What is the sense? You can not store persistent objects. You might store
a reference to the object using some _v_ variables to avoid g
--On 27. April 2006 10:54:23 +0200 Jonas Nielsen <[EMAIL PROTECTED]>
wrote:
Is it possible to store a database connection (i.e. a "Z MySQL Database
Connection") in a file system product ? How ?
What is the sense? You can not store persistent objects. You might store
a reference to the obj
Is it possible to store a database connection (i.e. a "Z MySQL Database
Connection") in a file system product ? How ?
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db