Nicolas Dufour wrote:
> Hi
>
> I have a very strange exception I dont understand at all !
>
> Here it is.
>
> Error with Flown XY query results.java.sql.SQLException: [IBM][CLI
> Driver] CLI0125E Function sequence error. SQLSTATE=S1010
>
> Query
> as [call get_map_flown_track_batch
> ('362430903,362417493,362396877,362416037,362426968,362402729,362409152,362431708,362438311,362423838,362403122,362447641,362384606,362380184')]
>
>
> java.sql.SQLException: [IBM][CLI Driver] CLI0125E Function sequence
> error. SQLSTATE=S1010
>
> at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
The stack trace looks like you are using the Sun JDBC->ODBC bridge to
talk to the IBM DB2 ODBC driver to talk to Derby (I assume it's Derby).
I'm not sure anyone has tried that, or would want to. :-) Does Sun even
maintain that bridge anymore?
Is it possible for you to switch to the Derby network client driver, it
was first shipped with Derby 10.1?
org.apache.derby.jdbc.ClientDriver
Dan.