Thanks for this explanation, Lukas!

I got it the problem and I agree with you: it's not an easy issue to solve!

On Thu, Jun 14, 2018 at 6:25 AM Lukas Eder <[email protected]> wrote:

> Am Mi., 13. Juni 2018 um 18:55 Uhr schrieb Rafael Ponte <[email protected]
> >:
>
>> TXTFormat.DEFAULT.maxRows(50).maxColWidth(50)
>>
>> If I understood correctly, based on this line of code above, jOOQ logger
>> should show the maximum of 50 columns, but it's only showing 6. Do you know
>> why it's not using this settings?
>>
>
> It's showing a maximum of 50 rows, not columns. The number of columns is
> not limited. The way it is currently being displayed is:
>
> - There is 1 return value from the function / procedure (and that is a
> record, not an individual value)
> - There are 0 out parameters
>
> So there's a result with 1 row and 1 (1 + 0) column (with a nested record)
> and the maximum displayed column width is 50 characters.
>
> I agree that there might be room for improvement in the out-of-the-box
> debug logger and I've registered an issue for this particular case:
> https://github.com/jOOQ/jOOQ/issues/7582.
>
> But it's difficult to get this "right". Imagine a procedure with 5
> %ROWTYPE out parameters mixed with 10 scalar out parameters? How would you
> want that to be logged?
>
> --
> 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.
>
-- 
Rafael Ponte
TriadWorks | Formação Java
http://cursos.triadworks.com.br

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