Inserting Fingerprint templates as varchar not as bytea type in PostgreSQL

From: cubfi <vanjinathan(dot)s(at)tcs(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Inserting Fingerprint templates as varchar not as bytea type in PostgreSQL
Date: 2010-11-10 07:49:41
Message-ID: 1289375381334-3258255.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


I am not able to insert fingerprint templates in db. I am using the datatype
as varchar(4000).
But when i tried with bytea type itk ok.
Isn't possible to insert these templates as varchar?
I have tried with varchar but its showing the illegal argument exception "\0
not allowed".
--
View this message in context: http://postgresql.1045698.n5.nabble.com/Inserting-Fingerprint-templates-as-varchar-not-as-bytea-type-in-PostgreSQL-tp3258255p3258255.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Michael musset 2010-11-10 10:20:14 JDBC : this statement has been closed : postgresql 9
Previous Message Samuel Gendler 2010-11-10 05:27:31 Re: PSQLException: The column name <col> was not found in this ResultSet.