In the example User model, there are four fields which are boolean, namely enabled accountExpired accountLocked credentialsExpired
there are associated @Column annotations on these for JPA. For MySQL these fields are getting mapped to bit fields, on other databases such as db/2 there are no corresponding bit fields. How/What do I need to do, to specify that these fields are although boolean in model class but should be (say) char or integer (1,0) in the database from persistence prespective. Presently the annotation @Column is attached to the isExpired(), isLLocked() etc accessor methods. Rgds, Deepak BAJAJ -- View this message in context: http://www.nabble.com/map-boolean-field-in-model-to-char-or-integer-tf3674241s2369.html#a10266848 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
