Source:
<code>public void testCompressLobs() throws Exception { final String tablespace = "TEST_TABLESPACE"; final String tableName = "TEST_TABLE"; final String tableUserLobs = "USER_LOBS"; <START> final String tableId = "ID"; <END> final String tableBlob = "BLOB_COLUMN"; final String tableClob = "CLOB_COLUMN"; final String compression = "COMPRESSION"; final String secureFile = "SECUREFILE"; properties.setProperty(COMPRESS_LOBS, Boolean.toString(true)); final DatabaseEngine engine = DatabaseFactory.getConnection(properties); createUserTablespace(tablespace); updateUserTablespace(tablespace, engine.getProperties().getUsername()); final DbEntity entity = dbEntity() .name(tableName) .addColumn(tableId, INT) .addColumn(tableBlob, BLOB) .addColumn(tableClob, CLOB) .pkFields(tableId) .build(); engine.addEntity(entity); assertTrue("ID column should exist", engine.getMetadata(tableName).containsKey(tableId)); assertTrue("BLOB_COLUMN column should exist", engine.getMetadata(tableName).containsKey(tableBlob)); assertTrue("CLOB_COLUMN column should exist", engine.getMetadata(tableName).containsKey(tableClob)); final Expression query = select(column(compression), column(secureFile)) .from(table(tableUserLobs)) .where(in(column("COLUMN_NAME"), L(k(tableClob), k(tableBlob)))); final List<Map<String, ResultColumn>> results = engine.query(query); assertEquals("Check that two lines are returned",2, results.size()); for (final Map<String, ResultColumn> result : results) { assertEquals("Check that compression is defined as HIGH", result.get(compression).toString(), "HIGH"); assertEquals("Check that secure file is enabled", result.get(secureFile).toString(), "YES"); } }</code><technical_language>3 called _column*_ _*column_ instead of _table*_</technical_language>

Target:
public void testCompressLobs() throws Exception { final String tablespace = "TEST_TABLESPACE"; final String tableName = "TEST_TABLE"; final String tableUserLobs = "USER_LOBS"; final String idColumn = "ID"; final String blobColumn = "BLOB_COLUMN"; final String clobColumn = "CLOB_COLUMN"; final String compression = "COMPRESSION"; final String secureFile = "SECUREFILE"; properties.setProperty(COMPRESS_LOBS, Boolean.toString(true)); final DatabaseEngine engine = DatabaseFactory.getConnection(properties); createUserTablespace(tablespace, engine.getProperties().getUsername(), engine); final DbEntity entity = dbEntity() .name(tableName) .addColumn(idColumn, INT) .addColumn(blobColumn, BLOB) .addColumn(clobColumn, CLOB) .pkFields(idColumn) .build(); engine.addEntity(entity); assertTrue("ID column should exist", engine.getMetadata(tableName).containsKey(idColumn)); assertTrue("BLOB_COLUMN column should exist", engine.getMetadata(tableName).containsKey(blobColumn)); assertTrue("CLOB_COLUMN column should exist", engine.getMetadata(tableName).containsKey(clobColumn)); final Expression query = select(column(compression), column(secureFile)) .from(table(tableUserLobs)) .where(in(column("COLUMN_NAME"), L(k(clobColumn), k(blobColumn)))); final List<Map<String, ResultColumn>> results = engine.query(query); assertEquals("Check that two lines are returned",2, results.size()); for (final Map<String, ResultColumn> result : results) { assertEquals("Check that compression is defined as MEDIUM", result.get(compression).toString(), "MEDIUM"); assertEquals("Check that secure file is enabled", result.get(secureFile).toString(), "YES"); } }