Depending on what you're showing in the combobox, you're changing an association, a boolean or an enumeration of a specific entity. To save whatever is selected, just commit the entity in question and that'll save the values in their appropriate places.