Please Discuss - CMP - null field mapped to Integer
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, April 25, 2001 07:33 PM

I have an integer field in my DB that represents the months of the year. The DB accepts the null value because I may not know the month of a product.
However, an Integer field in CMP EJB cannot have a null value.
I'm sure this happens frequently in any other situations. What is the common workaround for this feature? to put a default value that represents null(i.e. a 0 as a month?)


Carlos Ferrão

About | Sitemap | Contact