I don't know what the right way to do this. But this is what I want. I have an Enum
EValue{A=1,B=2,C=4,D=8,E=16,}
I need to say int value in database as number ,
say if select A,c,E
need to say 1=4=16 =21 in database.
Which is ok but then from 21 how to I retrieve a,c,e
Thanks for help in advance