Re: WARN: DefaultResultIterator: Error Bad Integer Dude?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Dec 10 2003 - 15:12:59 EST

  • Next message: Mike Block: "Re: WARN: DefaultResultIterator: Error Bad Integer Dude?"

    I will need to do more testing of LOBs on Postgres. Just to make sure,
    what column type did you use for the blob? Was it "bytea"?

    Also since you've mentioned that the attribute in question is a string,
    I guess your best bet is "text" column (CLOB in JDBC spec), instead of
    "bytea" (BLOB).

    Andrus

    On Dec 10, 2003, at 2:39 PM, Mike Block wrote:

    > I'm using pg73jdbc3.jar from http://jdbc.postgresql.org/download.html
    > Tried pg74jdbc3.jar and pg73jdbc2.jar with the same errors.
    >
    > In the short term, I can make it a really big varchar since it is just
    > a short description field.
    >
    > Thanks,
    > -[]
    >
    > On Wednesday, December 10, 2003, at 01:15 PM, Andrus Adamchik wrote:
    >
    >> Looks like the problem is in handling the BLOB column. Did you
    >> upgrade JDBC driver recently?
    >>
    >>> [java] Bad Integer Dude?
    >>> [java] at
    >>> org.postgresql.jdbc1.AbstractJdbc1ResultSet.toInt(AbstractJdbc1Result
    >>> Set.java:700)
    >>
    >> ... PostgreSQL drivers errors are so personal :-)
    >>
    >> Andrus
    >>
    >>
    >>
    > -[]
    > Digital Color Image
    > Phone: 856-662-5532



    This archive was generated by hypermail 2.0.0 : Wed Dec 10 2003 - 15:13:11 EST