A process for producing a water-soluble, hydrolysis-stable, polymerizable polymer, comprising a) a step of copolymerizing a mixture comprising (i) a first copolymerizable monomer comprising at least one optionally protected carboxylic acid group and a first polymerizable organic moiety, and (ii) a second copolymerizable monomer comprising one or more optionally protected primary and/or secondary amino groups and a second polymerizable organic moiety, for obtaining an amino group containing copolymer b) a step of coupling to the amino group containing copolymer a compound having a polymerizable moiety and a functional group reactive with an amino group of repeating units derived from the second copolymerizable monomer in the amino group containing copolymer obtained in the first step wherein the optionally protected amino group is deprotected, so that polymerizable pendant groups are linked to the backbone by hydrolysis-stable linking groups, and, optionally, a step of deprotecting the protected carboxylic acid group after step (a) or step (b), for obtaining a polymerizable polymer.