This closes #1302
This commit is contained in:
commit
5372059e7b
|
@ -77,7 +77,7 @@ public class JDBCSequentialFile implements SequentialFile {
|
||||||
this.dbDriver = driver;
|
this.dbDriver = driver;
|
||||||
}
|
}
|
||||||
|
|
||||||
void setWritePosition(int writePosition) {
|
void setWritePosition(long writePosition) {
|
||||||
this.writePosition = writePosition;
|
this.writePosition = writePosition;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -163,7 +163,7 @@ public class JDBCSequentialFileFactoryDriver extends AbstractJDBCDriver {
|
||||||
if (rs.next()) {
|
if (rs.next()) {
|
||||||
Blob blob = rs.getBlob(1);
|
Blob blob = rs.getBlob(1);
|
||||||
if (blob != null) {
|
if (blob != null) {
|
||||||
file.setWritePosition((int) blob.length());
|
file.setWritePosition(blob.length());
|
||||||
} else {
|
} else {
|
||||||
logger.warn("ERROR NO BLOB FOR FILE" + "File: " + file.getFileName() + " " + file.getId());
|
logger.warn("ERROR NO BLOB FOR FILE" + "File: " + file.getFileName() + " " + file.getId());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue