That's a bug, not a feature :-)
Thanks for reporting this. Tracked as #1768:
https://github.com/jOOQ/jOOQ/issues/1768 

Cheers
Lukas

Am Donnerstag, 30. August 2012 12:45:30 UTC+2 schrieb Áron Hamvas:
>
> Hello,
>
> I am new to jOOQ, just started evaluating it to see if it fits our needs, 
> and so far I like it very much.
> I have, however, a problem. Namely, when I try to fetch a record from my 
> empty database table using fetchOneById, I get a NullPointerException. 
> Wouldn't it be better to avoid unchecked exceptions like that? I think it 
> would be better to get a 'null' result instead of an exception here. So, is 
> it a bug or a feature? I'm using version 2.5.0.
>
> Thanks,
> Áron
>

Reply via email to