public int insert(Member member) throws Exception
    {
        System.out.println("insert() 호출");

        Connection connection = null;
        PreparedStatement stmt = null;

        try
        {
            connection = ds.getConnection();
            stmt = connection.prepareStatement("INSERT INTO MEMBERS(EMAIL,PWD,MNAME,CRE_DATE,MOD_DATE)" + " VALUES (?,?,?,NOW(),NOW())");
            stmt.setString(1, member.getEmail());
            stmt.setString(2, member.getPassword());
            stmt.setString(3, member.getName());
            return stmt.executeUpdate();
        }
        catch(Exception e)
        {
            throw e;
        }
        finally
        {
            try { if(stmt != null) stmt.close(); } catch(Exception e) {}
            try { if(connection != null) connection.close(); } catch(Exception e) {}
        }
    }