JDBC-based database schema inspection code. Used mainly for the mapping generator.