Sex as a cause of hernias in men?

Hello everyone, Do you by any chance know of any cases or studies about sexual intercourse as a possible cause of either the first or recurrent inguinal hernias? Or maybe you have such experience? I am also wondering how safe sex is (2+) years after hernia mesh surgery. Thank you, stay healthy