public boolean save(DisplayTable table) {
        Connection conn = null;
        PreparedStatement st = null;
        ResultSet rs = null;
        try {
            conn = getConnection();
            st = conn.prepareStatement(SAVE_TABLE, Statement.RETURN_GENERATED_KEYS);
            st.setInt(1, 		table.getId());
            st.setString(2, 	table.getWorld().getName());
            st.setInt(3,        table.getBlock().getLocation().getBlockX());
            st.setInt(4,        table.getBlock().getLocation().getBlockY());
            st.setInt(5,        table.getBlock().getLocation().getBlockZ());
            st.setString(6, 	table.getPlayer());
            st.setInt(7, 		table.getItemId());
            st.setShort(8, 		table.getItemData());
            st.execute();
            rs = st.getGeneratedKeys();
            if(rs.next()) {
                table.setId(rs.getInt(1));
            }
        } catch(Exception e) {
        	Brabotools.logger.warning(plugin.getName() + " Error saving table " + table.getId() + "!");
            e.printStackTrace();
            return false;
        } finally {
            try{
                if(conn != null) conn.close();
                if(st != null) st.close();
                if(rs != null) rs.close();
            } catch(Exception e) {}
        }
        if(table.getId() == 0 ) return false;
        return true;
    }