This commit is contained in:
Clebert Suconic 2017-05-30 18:59:33 -04:00
commit 5372059e7b
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ public class JDBCSequentialFile implements SequentialFile {
this.dbDriver = driver;
}
void setWritePosition(int writePosition) {
void setWritePosition(long writePosition) {
this.writePosition = writePosition;
}

View File

@ -163,7 +163,7 @@ public class JDBCSequentialFileFactoryDriver extends AbstractJDBCDriver {
if (rs.next()) {
Blob blob = rs.getBlob(1);
if (blob != null) {
file.setWritePosition((int) blob.length());
file.setWritePosition(blob.length());
} else {
logger.warn("ERROR NO BLOB FOR FILE" + "File: " + file.getFileName() + " " + file.getId());
}