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]>:

> 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].
> 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