You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "John Burwell (JIRA)" <ji...@apache.org> on 2015/08/20 18:05:45 UTC

[jira] [Commented] (CLOUDSTACK-7290) VO classes shouldn¹t have any class variables declared as native type

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14705178#comment-14705178 ] 

John Burwell commented on CLOUDSTACK-7290:
------------------------------------------

[~nitinme] I can't say that I have heard the term "native types" related to Java,  Are you referring to primitive types and their object wrappers (e.g. int and java.lang.Integer)?

> VO classes shouldn¹t have any class variables declared as native type
> ---------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7290
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7290
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.5.0
>            Reporter: Nitin Mehta
>            Priority: Critical
>
> VO classes which are the mapping of schema to Java objects shouldn¹t
> have any class variables declared as native type. Because native types
> have default values whereas schema columns can be null and declaring as
> native types masks that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)