In a saucepan, boil 2 quarts of water. Add the vinegar and beans. Boil for 5 minutes. Strain and add to a bowl of cold water to stop the cooking process.
Add the olive oil to a skillet over medium high heat. Saute the beans until lightly browned, about 5 minutes. Add the garlic, onion and ham, and cook for 10 to 15 minutes until the beans are tender. Add salt to taste.