[Zope-DB] Newbie - Z Search Interface, ZPT and nulls problem

Jakub Wisniowski jakub.wisniowski@euro.coig.pl
Mon, 11 Nov 2002 22:35:02 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0023_01C289D2.9361E8C0
Content-Type: text/plain;
	charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

Strange database adapter? Hmm.. it's a ZOPE ODBC Database Adapter =
(available
at zope.org). Is it strange?
Jakub

----- Original Message -----
From: "Dieter Maurer" <dieter@handshake.de>
To: "Jakub Wisniowski" <jakub.wisniowski@euro.coig.pl>
Cc: <zope-db@zope.org>
Sent: Sunday, November 10, 2002 10:46 PM
Subject: Re: [Zope-DB] Newbie - Z Search Interface, ZPT and nulls =
problem


> Jakub Wisniowski writes:
>  > ....  "null" from Z SQL Methods ....
>  >
>  > Even if
>  > 'Symbol' field in my database is 'null' 'result/Symbol' in my ZPT =
will
have
>  > logical value of true!
> This should not be the case. You seem to have a strange database
> adapter. See whether you find a better one, one that maps SQL "null" =
to
> Python "None".
>
>
> Dieter


------=_NextPart_000_0023_01C289D2.9361E8C0
Content-Type: text/html;
	charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-2">
<META content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>Strange=20
database adapter? Hmm.. it's a ZOPE ODBC Database Adapter =
(available<BR>at=20
zope.org). Is it strange?<BR>Jakub<BR><BR>----- Original Message =
-----<BR>From:=20
"Dieter Maurer" &lt;</FONT><A href=3D"mailto:dieter@handshake.de"><FONT=20
face=3D"Times New Roman" size=3D3>dieter@handshake.de</FONT></A><FONT=20
face=3D"Times New Roman" size=3D3>&gt;<BR>To: "Jakub Wisniowski" =
&lt;</FONT><A=20
href=3D"mailto:jakub.wisniowski@euro.coig.pl"><FONT face=3D"Times New =
Roman"=20
size=3D3>jakub.wisniowski@euro.coig.pl</FONT></A><FONT face=3D"Times New =
Roman"=20
size=3D3>&gt;<BR>Cc: &lt;</FONT><A =
href=3D"mailto:zope-db@zope.org"><FONT=20
face=3D"Times New Roman" size=3D3>zope-db@zope.org</FONT></A><FONT=20
face=3D"Times New Roman" size=3D3>&gt;<BR>Sent: Sunday, November 10, =
2002 10:46=20
PM<BR>Subject: Re: [Zope-DB] Newbie - Z Search Interface, ZPT and nulls=20
problem<BR><BR><BR>&gt; Jakub Wisniowski writes:<BR>&gt;&nbsp; &gt; =
....&nbsp;=20
"null" from Z SQL Methods ....<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; =
Even=20
if<BR>&gt;&nbsp; &gt; 'Symbol' field in my database is 'null' =
'result/Symbol' in=20
my ZPT will<BR>have<BR>&gt;&nbsp; &gt; logical value of true!<BR>&gt; =
This=20
should not be the case. You seem to have a strange database<BR>&gt; =
adapter. See=20
whether you find a better one, one that maps SQL "null" to<BR>&gt; =
Python=20
"None".<BR>&gt;<BR>&gt;<BR>&gt; =
Dieter</FONT><BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0023_01C289D2.9361E8C0--