ORA-22816 when using StoreGeneratedPattern in EF
Posted: Wed 09 Mar 2011 09:56
Hello,
we are using Entity Framework and the StoreGeneratedPattern for ROWID and other fields (no primary key fields)
we have the following problem. We are often using public synonyms that point to a table on an other database over a database link. The table structure is the same as defined in Entity Framework. We just want to read/write the data into an other database with this technique.
When using StoreGeneratedPattern Devart generates a returning clause for getting this values. This is not working with database links. Is there a possiblity to force devart to create a select statement (over the key fields) after update/insert to get the fields back? Sure this is not as fast as the returning clause, but would help is such a case. Maybe over a proeprty.
Thank you very much,
Tobias
we are using Entity Framework and the StoreGeneratedPattern for ROWID and other fields (no primary key fields)
we have the following problem. We are often using public synonyms that point to a table on an other database over a database link. The table structure is the same as defined in Entity Framework. We just want to read/write the data into an other database with this technique.
When using StoreGeneratedPattern Devart generates a returning clause for getting this values. This is not working with database links. Is there a possiblity to force devart to create a select statement (over the key fields) after update/insert to get the fields back? Sure this is not as fast as the returning clause, but would help is such a case. Maybe over a proeprty.
Thank you very much,
Tobias