JAVA_OBJECT: Unkown type

From: Julian Hagenauer <chaosbringer(at)gmx(dot)de>
To: pgsql-novice(at)postgresql(dot)org
Subject: JAVA_OBJECT: Unkown type
Date: 2006-08-27 14:21:20
Message-ID: 20060827162120.4b3c8f60@julian.chaosbringer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi,
i am using java1.5.0 and postgres8.2dev-503
I am trying to store a Java-Object from within a Javaprogramm by calling 'ps.setObject(2,myObject,java.sql.Types.JAVA_OBJECT);'

Unfortuntely this results in:
org.postgresql.util.PSQLException: unkown type: 2.000.
at org.postgresql.jdbc2.AbstractJdbc2Statement.setObject(AbstractJdbc2Statement.java:1680)
at org.postgresql.jdbc3.AbstractJdbc3Statement.setObject(AbstractJdbc3Statement.java:1435)
at org.postgresql.jdbc2.AbstractJdbc2Statement.setObject(AbstractJdbc2Statement.java:1686)

what is the reason for that? What do i have to do, to get rid of that?

Thank you,
Julian

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Julian Hagenauer 2006-08-27 14:33:37 Re: JAVA_OBJECT: Unkown type
Previous Message Michael Fuhr 2006-08-26 20:10:31 Re: Shared Objects (Dynamic loading)