completed replacement of hibernate on JDBC