Well, not a developed country, but in Brazil the government can only disclose convictions (outside of the government, internally there are a few exceptions), only to the person or a security-related organization, and it's illegal to even ask for a record in a work related process unless it's about one of those security-related organizations (the Federal Police maintains a list of them). Also, the data stays there starting at the conviction and only up to the point the person is found innocent in another ruling or the penalty ends.
But the one things that keeps surprising me about the other countries isn't any of that discrimination against minor misbehaving. It is that justice promoters so often see their roles on society as harassing suspects until they break down. This seems to be the norm, and it's completely ridiculous.