DD is in year 2 and has never really jelled with the other girls in her class (there are only a few) although she gets on fine with them on an individual basis. Over the last few months she's started playing more and more with a boy who is a few years older than her. This is fine about 50% of the time, but at other times he excludes her and say unkind things about her to other children. She gets very upset about this and it's even started affecting her work. When we talk about it and I suggest she walks away or plays with other children she says the's her only friend and she doesn't want to be on her own, or that if she does that he'll get upset. Attempts to integrate her more with the girls in her year haven't been successful (by us and the school), and she's really quite unhappy.
An added complication is that the boy has quite profound SN. DD is aware of this and will adapt her behaviour appropriately (e.g. he doesn't like loud noises so she makes sure not to shout of scream around him). I'm obviously really pleased she's so sensitive to the needs of others and these changes are entirely appropriate, but this is very different from her accepting the exclusion and unkindness: I don't want her to think it's OK for anyone to treat her badly. While I'm sure some of his behaviour towards her is as a result of his difficulties in managing relationships or lack of self esteem I can't let her bear the brunt of it as her own self-esteem is now at rock bottom. Some of the behaviour is verging on bullying.
I don't know how to deal with it. I don't want to tell her not to play with the boy at all - I don't think that would work anyway. On some levels her friendship means a lot to him (and his mother who I know well) and he has a lot to deal with, but currently the friendship is damaging to DD. What I want is for her to stand up for herself more, and integrate with a wider group of children so that she's not reliant on him. I've talked to the school about this and they've said they'll try and do some work to help her with friendships, but I really don't feel too hopeful. I think a key is building up her self esteem. She does plenty of out of school activities and gets on well with all the children she meets there (although I think she's probably a little socially immature for her age in some ways) - it's just in the school environment she seems to struggle.
Any ideas / suggestions would be welcome.