Carameldb is a project mainly written in Java, it's free.
Simple database testing framework for JDBC based applications.