I've tried both, mm.jdbc and twz.jdbc. I'm running jdk 1.2 on
linux. This is all on top of enhydra, if that matters.
Any help would be greatly appreciated.
Linux spartan 2.2.12 #3 Fri Oct 8 16:52:37 EDT 1999 i686 unknown
Mysql: 3.22.25
twz-jdbc: 1.0.4-GA
mm-jdbc: 2.0pre
code:
public Image getImage() {
Image image = new Image();
try {
Statement stmt = connection.createStatement();
ResultSet result = stmt.executeQuery
("SELECT * FROM images");
// As far as I can tell nothing under here ever gets executed when
// the gif is in the blob, but no exception is created.
int i = 0;
if (result.next()) {
image.setText(result.getString("text"));
}
} catch (Exception e) { e.printStackTrace(); }
return image;
}
Cocaine: using tomorrow's energy today.