DAO & JDBC support completed.

Now generated tests for DAO and JDBC will respect constraints.