How to insert checkbox values into mysql and retrieve them using java