[
https://issues.apache.org/jira/browse/CLOUDSTACK-7290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090565#comment-14090565
]
Koushik Das edited comment on CLOUDSTACK-7290 at 8/8/14 9:59 AM:
-----------------------------------------------------------------
I don't quite follow the description. If a db column data is nullable then it
should be a object type otherwise it can be a native type (based on the data)
with correct default.
was (Author: koushikd):
I don't quite follow the description. If a db column data is nullable then it
should be a object type otherwise it should be a native type with correct
default.
> 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
> Fix For: 4.5.0
>
>
> 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.2#6252)