Announcement

Collapse
No announcement yet.

JDBC 2.0-Befehle unter Interbase 6.0 mit Interclient 2.0 ?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • JDBC 2.0-Befehle unter Interbase 6.0 mit Interclient 2.0 ?

    Hallo zusammen,

    ich habe versucht JDBC 2.0 - Befehle auf die Interbase 6.0 - Datenbank
    anzuwenden. Leider wird dies immer mit Fehlermeldungen quittiert.

    Ich kann allerdings mit next() durch die Datensätze steppen.

    Als JDBC-Treiber benutze ich Interclient 2.0. Die Installation
    der JDBC2-Erweiterung jdbc2_0-stdext.jar brachte keine Änderung.

    Ist Interclient eigentlich grundsätzlich JDBC 2.0-fähig, oder muss
    ich wie bei JDBC1.2 die Daten erst in einen Vector schaufeln, um vorwärts
    und rückwärts navigieren zu können.

    mfg
    Siegi

  • #2
    Folgendes ist aus der API Doku des InterClient. BEachte insbesondere die letzte Zeile

    <pre>
    previous
    public boolean previous()
    throws SQLException
    Moves to the previous row in the result set.
    Note: previous() is not the same as relative(-1) since it makes sense to call previous() when there is no current row.

    Specified by:
    previous in interface ResultSet
    Returns:
    true if on a valid row, false if off the result set.
    Throws:
    SQLException - if a database access error occurs, or result set type is TYPE_FORWAR_DONLY.
    Since:
    <font color="red">JDBC 2, not yet supported </font>
    </pre&gt

    Comment

    Working...
    X