6 Replies Latest reply on Nov 17, 2005 11:20 AM by Yeroc

    Mapping a Boolean

    Yeroc Newbie

      Hello EJB3 gurus...

      Can anyone tell me how I go about mapping a Boolean field in an EJB3 CMP entity bean? I'm trying to map to a database column that's CHAR(1) containing Y/N/null. As far as I can tell the EJB3 spec doesn't address this. Hibernate allows the developer to specify a strategy for mapping object types like this but how do I do this within the EJB3 standard? This seems like something so ridiculously common that I must be missing something?