Be carefull though, these are not made to be soldered directly on a pcb.
If you look at the mechanical ring construction that is to withstand the pull out forces.
If you do not have any other mechanical strain relief, that full force will go onto the soldered pcb contacts, which is not going to last.
There are alternative connectors that are made for pcb mounting see pictures.