Add beans, ham hocks, onion, broth, water, bay leaves, all purpose seasoning, garlic powder, and onion powder to a Dutch oven.
Stir to distribute seasonings.
Bring to a boil over high heat.
Reduce heat to low, cover, and simmer 1 1/2 to 2 hours, stirring every 30 minutes, until beans are tender and creamy.
Remove ham hocks with tongs and let cool slightly.
Shred meat from bones and discard bones, fat, and skin.
Return shredded meat to pot.
Remove and discard bay leaves.
Taste and adjust seasonings as needed.
Serve.