You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@click.apache.org by Bob Schellink <sa...@gmail.com> on 2009/03/11 17:18:30 UTC

Re: BOOLEAN type - java.lang.RuntimeException: No matching getter method found for property

Hi Gilberto,


Gilberto C. Andrade wrote:
> 
> [code]
>     private boolean flNovo;
>     public boolean isFlNovo() {return flNovo;}
>     public void setFlNovo(boolean flNovo) {this.flNovo = flNovo;}
> [/code]
> 
> Is there any limitation on usage of boolean types (as shown above)?


Yep booleans are supported.

> 
> [code]
> java.lang.RuntimeException: No matching getter method found for
> property 'novo' on class


Looks like you define your column as "novo" but your property is 
defined as "flNovo". If you change it to "flNovo" it should work.

kind regards

bob

Re: BOOLEAN type - java.lang.RuntimeException: No matching getter method found for property

Posted by "Gilberto C. Andrade" <gi...@gmail.com>.
2009/3/11 Bob Schellink <sa...@gmail.com>:
> Hi Gilberto,
>
>
> Gilberto C. Andrade wrote:
>>
>> [code]
>>    private boolean flNovo;
>>    public boolean isFlNovo() {return flNovo;}
>>    public void setFlNovo(boolean flNovo) {this.flNovo = flNovo;}
>> [/code]
>>
>> Is there any limitation on usage of boolean types (as shown above)?
>
>
> Yep booleans are supported.
>

I think the limitation is mine!

>>
>> [code]
>> java.lang.RuntimeException: No matching getter method found for
>> property 'novo' on class
>
>
> Looks like you define your column as "novo" but your property is defined as
> "flNovo". If you change it to "flNovo" it should work.
>
Sorry!
I should look for an FAQ (it seems a common mistake.)or something
similar, before post!

Thanks!