private DownloadMap downloadCLOB;
private DownloadMap downloadBLOB;
private DownloadContentQuery q;
public void setUp() {
db = new HSQLDatabase("test");
db.executeSQL("CREATE TABLE People (ID INT NOT NULL PRIMARY KEY, PIC_CLOB CLOB NULL, PIC_BLOB BLOB NULL)");
db.executeSQL("INSERT INTO People VALUES (1, 'Hello World!', NULL)");
db.executeSQL("INSERT INTO People VALUES (2, NULL, HEXTORAW('404040'))");
Mapping m = MappingHelper.readFromTestFile("download/download-map.ttl");
downloadCLOB = m.downloadMap(ResourceFactory.createResource("http://example.org/downloadCLOB"));