0 Replies Latest reply on Jan 22, 2009 2:59 PM by Khilesh Prasad

    The Boolean value getting null?

    Khilesh Prasad Newbie

        
      Hello Everybody,
      Any one help me why the Boolean return always null instead of false;
      is there any solutions to set default false;
      without initialize the

      Boolean result = false;

              @Column(name="result")
              private Boolean result;
              public Boolean getResult() {
                      return result;
              }

              public void setResult(Boolean result) {
                      this.result = result;
              }