Skip site navigation (1) Skip section navigation (2)

Help:updateRow() with CIDR types

From: Moray Taylor <mugen(at)the400(dot)homeunix(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Help:updateRow() with CIDR types
Date: 2004-04-22 23:13:57
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc

I'm having some trouble updating CIDR types using jdbc, I use  
updateObject() to change it, which goes OK, but when I do an  
updateRow(), I get this error

java.sql.SQLException: ERROR: invalid cidr value: ""

in other circumstances I get an SQLException with no getMessage()  
value, I can't quite put my finger on why the error sometimes changes.

I can change them command-line style no problem.

I am using version 7.5 build 301, the earlier 7.4 driver was worse, it  
just returned null for all the values.

Any ideas?

Thanks very much for any help.



pgsql-jdbc by date

Next:From: Oliver JowettDate: 2004-04-23 00:29:48
Subject: Re: Help:updateRow() with CIDR types
Previous:From: Glenn HolmerDate: 2004-04-22 13:10:42
Subject: JDBC rowsets

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group