EJB3: Mapping a Boolean
Hi...
I posted this question to the OC4J forum last week but didn't get a response. Hopefully someone here will have an answer as Toplink is providing the Oracle EJB3 implementation...
Question:
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 (and I assume, Oracle TopLink does as well) but how do I do this within the EJB3 standard? Failing that, how can I do this using TopLink in a EJB3 entity bean?
Thanks,
Corey