Critical current density in Ag/YBa2Cu3Ox and PrBa2Cu3Oy/YBa2Cu3Ox multilayers