* @param props
* @throws org.apache.tools.ant.BuildException
*
*/
private void testDBConnection(Properties props) {
DriverManagerConnectionProvider dmcp = new DriverManagerConnectionProvider();
try {
dmcp.configure(props);
Connection con = dmcp.getConnection();
dmcp.closeConnection(con);
} catch (HibernateException e) {
log.error(e);
throw new RuntimeException(DATABASE_CONNECTION_NOT_VALID + " " + CHECK_PROPS + " " + e.getMessage(), e);
} catch (SQLException e) {
log.error(e);