Team Exasol
Team Exasol

What is test-database-builder?

Exasol's Test Database Builder for Java (TDDB) is a library that makes writing integration tests for database applications easier.

The main design goals are to make the code of the integration test compact and readable at the same time.

For example, you can create and fill a table using the following statement:

final DatabaseObjectFactory factory=new ExasolObjectFactory(connection);
final Schema schema factory.createSchema("ONLINESHOP");
final Table table=schema.createTable("ITEMS","PRODUCT_ID","DECIMAL(18,0)","NAME","VARCHAR(40)")
        .insert("1","Cat food")
        .insert("2","Toy mouse");


What's new?

We fixed a bug in this release that allowed SQL injection in the create table commands.

Where to find it?

You can find the new release on GitHub.