Wednesday, July 3, 2013

Booleans in OpenJPA

try

    @ExternalValues({"true=1", "false=0"})
    @Type(int.class)
    boolean val;


or MySQL will use a single bit to store this

No comments:

Post a Comment