@Joe: This seems to be a regression in SQLite > 3.2.7, as with the
3.2.7 CLI the BLOB gets displayed correctly, while 3.4.0 shows the
garbled content (though the correct length(), curiously). I'll file a
bug for SQLite.

@David and others: Speaking of patches, is there a reason why
RS::getDate(String) calls getDate(int, Calendar), which is NYI,
instead of getDate(int)? Latter seems to work fine for me, so I
tweaked getDate(String):

--8><--
public Date getDate(int col) throws SQLException {
    return new Date(db.column_long(pointer, markCol(col)));
}

public Date getDate(int col, Calendar cal) throws SQLException {
    throw new SQLException("NYI");
} // TODO

public Date getDate(String col) throws SQLException {
    return getDate(findColumn(col)/*, Calendar.getInstance()*/);    //
Patched by Murphy
}

public Date getDate(String col, Calendar cal) throws SQLException {
        return getDate(findColumn(col), cal);
}
--><8--

Martin


--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to