I have a problem with ZODBCDA. When query a DB which instances have a
null values, this values return as cero values (0) not nulls values,
and this is a problem for me, because I need differentiate them.
In my opinion, it's a serious error. There is somebody who know the
solution?
Thank
What is the proper way to trap a duplicate insert.
I’m using Z MySQL.
try:
context.duptest_qry()
except Exception, v:
if v[0]==1062 :
print "Duplicate Insert"
I’ve tried this but Zope will not let me access v[0]
which is set to 1062 on dups.
Thanks!
Andy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Carlos,
Carlos A. Micucci wrote:
> I have a problem with ZODBCDA. When query a DB which instances have a
> null values, this values return as cero values (0) not nulls values,
> and this is a problem for me, because I need differentiate the