Oracle sequence
Posted: Wed 29 Aug 2012 10:39
Hi,
I have an application on MSSql, now I'm migrating it to Oracle.
In MsSQL I use identity columns for PrimeryKeys. In Oracle I'm using sequence for PKs, and I have a trigger for each table, which fill the appropriate value for the PK.
In my application I not care directly about fill the PK, becaues the database makes it for me, but when I'm conncted to Oracle, I got the error message "Field ID must have a value"!
(with MSSQL it works fine!)
Can I switch off somehow the TUniTable, or TUniQuery component feater for checking the PK ?
I tried to set then RequiredField = False, but it counts nothing.
Thanks,
gyula
I have an application on MSSql, now I'm migrating it to Oracle.
In MsSQL I use identity columns for PrimeryKeys. In Oracle I'm using sequence for PKs, and I have a trigger for each table, which fill the appropriate value for the PK.
In my application I not care directly about fill the PK, becaues the database makes it for me, but when I'm conncted to Oracle, I got the error message "Field ID must have a value"!
(with MSSQL it works fine!)
Can I switch off somehow the TUniTable, or TUniQuery component feater for checking the PK ?
I tried to set then RequiredField = False, but it counts nothing.
Thanks,
gyula