    public void afterPropertiesSet() throws Exception {
        if (recreateDb) {
            if("create_oracle.sql".equals(createSql)) {
                LOG.warning("Not recomended to use db.recreate=true parameter for Oracle database");
            }
            ScriptRunner sr = new ScriptRunner(dataSource.getConnection(), true, false);
            sr.setLogWriter(null);
            sr.setErrorLogWriter(null);
            sr.runScript(new InputStreamReader(this.getClass().getResourceAsStream("/" + createSql)));
        }
    }

    public void afterPropertiesSet() throws Exception {
        if (recreateDb) {
            if("create_oracle.sql".equals(createSql)) {
                LOG.warning("Not recomended to use db.recreate=true parameter for Oracle database");
            }
            ScriptRunner sr = new ScriptRunner(dataSource.getConnection(), false, false);
            sr.setLogWriter(null);
            sr.setErrorLogWriter(null);
            sr.runScript(new InputStreamReader(this.getClass().getResourceAsStream("/" + createSql)));
        }
    }
