cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Burwell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7290) VO classes shouldn¹t have any class variables declared as native type
Date Thu, 20 Aug 2015 16:05:45 GMT

    [ 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)

Mime
View raw message