[hibernate-dev] OGM - BasicGridBinder log issue
Emmanuel Bernard
emmanuel at hibernate.org
Thu Mar 15 06:05:23 EDT 2012
OGM-134
On 15 mars 2012, at 10:56, Emmanuel Bernard wrote:
> Thanks for the catch I am working on OGM-40 and will push that as aprt of the same pull request.
>
> On 15 mars 2012, at 10:54, Guillaume SCHEIBEL wrote:
>
>> Hello,
>>
>> I have noticed that the BasicGridBinder has a problem when it logs the
>> bindding ( BasicGridBinder.bind(Tuple, X, String[] ) method).
>> Actually, the trace is "binding [$s] to parameter(s) $s" but it should be
>> "binding [thevalue] to parameter(s) theparameter".
>> It can be fixed easily by modifying the two calls to log.tracef() (line 70
>> and 76) respectively like that:
>>
>> log.tracef( "binding [null] to parameter [%1$s]", name );
>> and
>> log.tracef( "binding [%1$s] to parameter(s) %2$s",
>> javaDescriptor.extractLoggableRepresentation( value ), Arrays.toString(
>> names ) );
>>
>> Should a new Jira be opened or I can inclued it into OGM-123 (mongodb
>> implementation) ?
>>
>> Cheers,
>> Guillaume
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
More information about the hibernate-dev
mailing list