Hi all,
First of all, I wishes you a happy new year.
We just inheritate a new application which use nhibernate and log4net but
we also have a bug with it.
we try to have the sql witch is used but the only thing we have is this
Code:
UPDATE ServiceEvents SET CancellationReason = :p0, EventDate = :p1, EndTime = :p2, Modified = :p3, EventIndex = :p4, ServiceId = :p5, Detail = :p6, RealVehicleDistance = :p7, SourceActorId = :p8, ModifiedBy = :p9 WHERE Id = :p10
we try to have the binding param but impossible to find what parameters we have to enabl in the config file.
Code:
<nhibernate>
<add key="hibernate.connection.provider" value="NHibernate.Connection.DriverConnectionProvider"/>
<add key="hibernate.dialect" value="NHibernate.Dialect.Oracle9Dialect"/>
<add key="hibernate.connection.driver_class" value="NHibernate.Driver.OracleClientDriver"/>
<add key="hibernate.connection.connection_string" value="user id=svoi;data source=SVOI2;password=user"/>
<add key="hibernate.show_sql" value="true"/>
<add key="hibernate.type" value="TRACE"/>
<add key="hibernate.SQL" value="TRACE"/>
</nhibernate>
there is our nhibernate configuration section into the app.config file( it's c#).
We found hibernate.sql and hibernat.type into others forum but it was for java and no c# so ...
do you have any idea on how to activate this trace about params binding logging.
thanks
a+