ORA_ROWSCN pseudo column update error
ORA_ROWSCN pseudo column update error
After automatically generting the .edmx file from an Oracle 10g database, I manually add the following line:
into the store schema section and changed the conceptual schema and the c-s mapping accordingly.
The reading of ORA_ROWSCN is just fine. But when SaveChanges() was called, an exception occured: InternalExcpetion "{"Unknown column 'ORA_ROWSCN'"}".
Any suggestion? Thanks.
into the store schema section and changed the conceptual schema and the c-s mapping accordingly.
The reading of ORA_ROWSCN is just fine. But when SaveChanges() was called, an exception occured: InternalExcpetion "{"Unknown column 'ORA_ROWSCN'"}".
Any suggestion? Thanks.
The problem was only partially solved by dotConnect 5.0.beta:
The SaveChanges() works fine but the new value of ORA_ROWSCN does not fetch back correctly -- the new value is set to be null.
The reason I found is: the new value of ORA_ROWSCN is availabe only after the change is committed. But in the generated sql statement by dotConnet, the ORA_ROWSCN is returned back before the commit. So we get back a null value.
Any comment? Thanks.
The SaveChanges() works fine but the new value of ORA_ROWSCN does not fetch back correctly -- the new value is set to be null.
The reason I found is: the new value of ORA_ROWSCN is availabe only after the change is committed. But in the generated sql statement by dotConnet, the ORA_ROWSCN is returned back before the commit. So we get back a null value.
Any comment? Thanks.