Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top