example
In oracle
-- Create table
create table Person
(
Name varchar2(10),
Country varchar2(10)
)
;
////
create table Cursus
(
year number,
job varchar2(20),
name varchar2(10)
);
foreign key (NAME)
Person (NAME)
///
in Delphi
Tperson = class
Name : string
Country : String
Cursus : Toracledataset
procedure Save;
I want to save my class in commit if and only if all recordcount in the oracledataset are recorded successively otherwyse I make a rollback.
I did not find a solution other than to send a cursor in parameter in a function
and the cursor here is the oracledataset