[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Handling of null native values

scott.stark@jboss.org do-not-reply at jboss.com
Fri Nov 21 18:54:58 EST 2008


SimpleMetaType does not differentiate between a primitive, and non-primitive, so how would I know what the default value for a SimpleMetaType.INTEGER would be for example? For an int its 0, for an Integer its null. We would have to add an isPrimitive notion and allow this to be specified in wrap.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191441#4191441

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191441



More information about the jboss-dev-forums mailing list