I resolved the issue last week... I don't recall now how I did it... :(

Deven

On Monday, September 15, 2014 8:11:24 AM UTC-4, Lukas Eder wrote:
>
> Hello,
>
> Can you provide some more information to reproduce this? At least a full 
> stack trace, and if possible, the code around creating the MockResult and 
> around the (jOOQ) query that is being executed here.
>
> Cheers
> Lukas
>
> 2014-09-10 4:43 GMT+02:00 Deven Phillips <[email protected] 
> <javascript:>>:
>
>> I have a DAO which I am trying to unit test and for cases where there are 
>> valid results (as provided in a MockDataProvider) I get good responses in 
>> my tests. But for cases where the resultset is empty:
>>
>> Result myResultObject = create.newResult(....);
>>
>> mock[0] = new MockResult(0, myResultObject);
>>
>> I keep getting strange responses from the API. Specifically, I get 
>> "java.sql.SQLException: Unknown column index : 5"
>>
>> This is with jOOQ version 3.4.2. Could anyone sugggest what I might be 
>> doing wrong?
>>
>> Thanks in advance!!
>>
>> Deven Phillips
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "jOOQ User Group" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to