Pregunta

I'd like to print out SQL statements in NHibernate log file without certain blob-type column contents, which really fill up the space and make the whole thing unreadable.

Is this possible somehow, e.g. to apply a filter on logged columns? Maybe another option might be setting a limit on the number of printed characters.

Update: NHibernate version is 3.1.0.4000.

¿Fue útil?

Solución

What version of NHibernate are you using? Since 3.2.0.Alpha1 NHibernate truncates strings to 1000 chars and byte arrays (blobs) to 128 bytes.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top