how to save value of JRadiobutton in database



I have created two JRadionButton ie.YES and NO, and added them to a
group so that only one of them can be selected. So please help me ,
how can I save this value in database when i press save button. Would
the value be boolean or I can also save values like YES or NO.
please help!!

.