Subject AW: [Firebird-Java] Jaybird 2.1.6 with firebird 2.5 - possible bug
Author Steffen Heil
Hi

Sorry, for the noise.
Found the problem in my own code. (Wrong index.)

Regads,
Steffen


> -----Urspr√ľngliche Nachricht-----
> Von: Firebird-Java@yahoogroups.com [mailto:Firebird-
> Java@yahoogroups.com] Im Auftrag von Steffen Heil
> Gesendet: Sonntag, 24. Oktober 2010 03:58
> An: firebird-java@yahoogroups.com
> Betreff: [Firebird-Java] Jaybird 2.1.6 with firebird 2.5 - possible bug
>
> Hi
>
> Since a few days I use jaybird 2.16 with firebird 2.5.
>
> Now I ran into a strange error message:
>
> java.lang.reflect.UndeclaredThrowableException
> at $Proxy2.getTimestamp(Unknown Source)
> ... MY CODE ...)
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown
> Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.firebirdsql.pool.ResultSetHandler.invoke(ResultSetHandler.java:70)
> at $Proxy2.getTimestamp(Unknown Source)
> ... MY CODE ...
> Caused by: java.lang.IllegalArgumentException: Timestamp format must be
> yyyy-mm-dd hh:mm:ss[.fffffffff]
> at java.sql.Timestamp.valueOf(Unknown Source)
> at
>
org.firebirdsql.jdbc.field.FBStringField.getTimestamp(FBStringField.java:221
> )
> at
>
org.firebirdsql.jdbc.AbstractResultSet.getTimestamp(AbstractResultSet.java:
> 5
> 75)
> ... 47 more
>
> Note, that I just called ResultSet.getTimestamp(int), so I don't
understand
> why formatting issues can be involved...?
> Is jaybird incompatible with firebird 2.5? I did never see this before,
but
> usually I use getTimestamp(String).
>
> Regards,
> Steffen
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

[Non-text portions of this message have been removed]