Joined: Tue Apr 08, 2008 6:24 am Posts: 8
|
Futher to my issue I have looked at the nhibernate code.
I couldn't see see anyway to change the way it generates the column names in the where clause via its extendibility architecture (e.g. dialect or driver).
Therefore on the oracle client driver I override the generatecommand method on the oracle driver and directly hack the sql generated to use a where .... AND rtrim(columnname)=:p0 .... etc
This is nasty, but it fixes the issue of nhibernate not finding a row to update.
Is there not any other way to do this?
|
|