JDBC +CIDR

JDBC +CIDR

am 12.10.2004 17:54:41 von jrobette

This is a multi-part message in MIME format.

------=_NextPart_000_00FC_01C4B084.8F9B2E60
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,
I've a table containing a CIDR field.
I'm using an EJB to create a new record in this table.
I don't know how to pass the CIDR value. I tried by String but I get
this error :
javax.ejb.FinderException: Find failed:
java.sql.SQLException: ERROR: operator does not exist: cidr = text
So how should I do?

Thanks in advance.

------=_NextPart_000_00FC_01C4B084.8F9B2E60
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">


















N-GB
style=3D'font-size:10.0pt;mso-ansi-language:EN-GB'>Hi,
ont>



N-GB
style=3D'font-size:10.0pt;mso-ansi-language:EN-GB'>I’ve a table conta=
ining
a CIDR field.



N-GB
style=3D'font-size:10.0pt;mso-ansi-language:EN-GB'>I’m using an EJB to
create a new record in this table.



N-GB
style=3D'font-size:10.0pt;mso-ansi-language:EN-GB'>I don’t know how t=
o pass
the CIDR value. I tried by String but I get this error =
:



N-GB
style=3D'font-size:10.0pt;mso-ansi-language:EN-GB'> ount:
1'>            =
   
class=3DSpellE> =3D'font-size:
10.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'>javax.ejb.FinderE=
xception
size=3D2 face=3D"Courier New"> font-family:
"Courier New";mso-ansi-language:EN-GB'>: Find failed: =
java.sql.SQLException
:
ERROR: operator does not exist: cidr =3D text :p>



N-GB
style=3D'font-size:10.0pt;mso-ansi-language:EN-GB'>So how should I do?=



N-GB
style=3D'font-size:10.0pt;mso-ansi-language:EN-GB'> 
=



N-GB
style=3D'font-size:10.0pt;mso-ansi-language:EN-GB'>Thanks in advance…=









------=_NextPart_000_00FC_01C4B084.8F9B2E60--