Hi Mrlene,
Do you have any more information re Bernard - dates of birth, death, travel to Jamaica? Perhaps you might know where in Cork he lived or whether he was married?
I suggest you get in touch with Cork Historical and Archaeological Society on this query. They are long established and hopefully have some information relating to Bernard, especially as he sounds like a person of interest. Here is their contact page --> https://corkhist.ie/contact/
Perhaps it might also be worthwile contacting the Cork or Irish Prison Service? Here is their website - https://www.irishprisons.ie/prison/cork-prison/
Good luck in your search!