From: | "Mykola Dudar" <dmykola(at)hpcerc(dot)unm(dot)edu> |
---|---|
To: | <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | exception in decodeUTF8 |
Date: | 2003-02-19 16:44:26 |
Message-ID: | 003801c2d836$29f0dd80$a8f61881@MINIME |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Please reply to email dmykola(at)hpcerc(dot)unm(dot)edu
Hey,
We are using PostgreSQL 7.3 JDBC driver, JDK 1.1. Everything works fine execmpt one ow. Actually one cell in a row.
Table defined as
CREATE TABLE IAProtocolSpotAttrName
(
IAProtocolName VARCHAR(64) NOT NULL,
DBAttrName VARCHAR(64) NOT NULL,
FileAttrNAme VARCHAR(64) NOT NULL,
DataType VARCHAR(8) NOT NULL,
OrderID SMALLINT NOT NULL
);
One the row inserted as
INSERT INTO IAProtocolSpotAttrName
VALUES ('GenePixAll', 'Rgn_R2', 'Rgn R²', 'number', 33);
The cell with 'Rgn R²' is a problem. When I try to run getObject for that cell, have an error:
java.lang.ArrayIndexOutOfBoundsException: 6
java.lang.String org.postgresql.core.Encoding.decodeUTF8(byte[], int,int)
Encoding.java:259
java.lang.String org.postgresql.core.Encoding.decode(byte[], int, int)
Encoding.java:165
java.lang.String org.postgresql.core.Encoding.decode(byte[])
Encoding.java:181
java.lang.String
org.postgresql.jdbc1.AbstractJdbc1ResultSet.getString(int)
AbstractJdbc1ResultSet.java:97
java.lang.Object
org.postgresql.jdbc1.AbstractJdbc1ResultSet.getObject(int)
AbstractJdbc1ResultSet.java:488
Ideas?
Mykola
From | Date | Subject | |
---|---|---|---|
Next Message | Csaba Nagy | 2003-02-19 16:54:45 | Re: ANY subquery and PreparedStatements |
Previous Message | Felipe Schnack | 2003-02-19 16:00:19 | Re: ANY subquery and PreparedStatements |