We use either a ham shank left over from a bone in ham. We put those in the freezer till time for beans. Thats my favorite. Or I use a smoked ham shank because it has more meat than ham hocks. This way everyone gets beans and some tatsty bits. Third choice for me would be ham hocks One big or two small ones.
I use onions sauted in just a little bit of olive oil in the bottom of the pan... Chopped small so they disappear. Then Beans and (meat on bone). I dont soak the beans just put em in to simmer. I dont season with salt and pepper till they are almost done. Keeps the beans together. I taste the juice about an hour before they are done then season. I use granulated garlic too but have to be sparing with it because Grandma is VERY particular about how her beans are cooked.
She was born in 1916 on her family farm in Colorado. Her Dad Farmed Pinto beans....

So they pretty much lived on em most of the year. So cooking method has to be her way or the highway. I added in the onions and garlic. but dont mention them to her and she does like my beans.
deb