Moray Taylor wrote:
> 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: "184.108.40.206/4"
What object type and SQL typecode are you passing to updateObject()? Can
we see that bit of code?
Turn on log_statement on the backend; what is the entire query that errors?
From memory the driver doesn't really have support for CIDR types other
than as raw strings, but that might have changed..
In response to
pgsql-jdbc by date
|Next:||From: Kris Jurka||Date: 2004-04-23 06:58:57|
|Subject: Re: JDBC rowsets|
|Previous:||From: Moray Taylor||Date: 2004-04-22 23:13:57|
|Subject: Help:updateRow() with CIDR types|