title: JPA configure boolean fields to persist as integers
body: <p>In JPA is there an annotation to specify that boolean fields should be persisted as an integer.
  I'm using OpenJPA and it's currently persisting boolean fields as bits. I'd rather use integer 1 or 0.</p>