Another thing is that it's practically impossible for a non-chinese person to get citizenship or even permanent residency - even if you marry a chinese citizen. At the end of the day the Chinese government (and maybe its people as well) does not want foreigners living their long-term.
There has even been a recent circular to not issue indefinite contracts to foreigners works. They are only allowed to employ the person for a maximum of 5 years (although extension of contract is possible). Not so sure what the deal with this is.