In the case of the Polish-Lithuanian commonwealth, they welcomed jews from the 14th century onwards and in the 1700s 60% of the world's jews lived in Poland-Lithuania
There were no state sponsored pogroms
But that didn't help Poland-Lithuania which got ripped into three parts and the largest Jewish areas got incorporated in Russia and faced pogroms and then the Holocaust.
When the Jews were in Poland, it prospered, but that was because Jews were skilled in finance and in technology from Spain and Germany (where they came from) and they helped, along with the Germans, Armenians and others to vitalize the Polish-Lithuanian commonwealth economy
Interesting Poland or Polania was viewed by Jews as a good place from the 1400s until well after the partitions in the 18th century — Po lan ya can be translated as “here God dwells” in Hebrew. yet this didn’t stop the mutilation of Poland. Well, the struggles the Poles faced from the 1700s until the 1990s includes the pain and death of the Polish Jews.