Only one StoreGeneratedPattern="Computed" column possible?
Posted: Sat 03 Jul 2010 14:58
My entities have to columns which derive from Oracle pseudocolumns:
- Rowid
- Rowscn
Both are defined as StoreGeneratedPattern="Computed".
DbMonitor shows the following sql:
Seems to me that only one such column is possible, because of returning only the first ":outParameter".
Is this the intended behaviour?
- Rowid
- Rowscn
Both are defined as StoreGeneratedPattern="Computed".
DbMonitor shows the following sql:
Code: Select all
declare
updatedRowid ROWID;
begin
update MW
set MWST_TEXT = :p0, MWST_SATZ = :p1, MWST_USER = :p2, MWST_AEND = :p3
where (((MWST_NO = :p4) and (MWST_AB = :p5)) and (ORA_ROWSCN = :p6))
returning ROWID into updatedRowid;
open :outParameter for select "ROWID", ORA_ROWSCN from MW where ROWID = updatedRowid;
end;
Is this the intended behaviour?