From: MAILLE F. <flo...@fr...> - 2011-11-15 10:48:20
|
Hi, in ma odl model i got a boolean class Person{ string name; bool happy; } but in the Person.java the methode setHappy take an integer as parametre, and the getHappy methode return an integer to... It would be not a problem but I dont know how to turn to true the happy field with an integer. In fact setHappy(1); doesn't work, in the db, this field still false... Can you help me please? Sincerly Florence Maillé |