Code example for DataSource

Methods: getConnection

0
        return super.execute(DEFAULT_DATA_SOURCE, sql, null); 
    } 
 
    protected boolean execute(String sql, Map<Integer, Object> params) throws SQLException, NamingException { 
        return super.execute(DEFAULT_DATA_SOURCE, sql, params); 
    } 
 
    public boolean hasTable() { 
        return super.hasTable(DEFAULT_DATA_SOURCE); 
    } 
 
 
    public boolean createTable() throws NamingException, SQLException { 
        return super.createTable(DEFAULT_DATA_SOURCE); 
    } 
}