Part 2 to the previous post...
I tried another example where my anonymous PL/SQL block was:
block = "BEGIN " +
"INSERT into rpt_source (source_id, group_id, name,
source_path, relative_path, file_extension, body_format, hash, body) "
+
"VALUES (:1, :2, :3, :4, :5, :6, :7, :8, empty_blob()); "
+
"SELECT body into :9 from rpt_source where source_id = :
10; " +
"END;";
I then used the session.Transaction.Enlist(cmd); on this as well.
After all was said and done (after the transaction was committed),
there were no records added via the above block. For some reason the
command was not executed. Is there something I need to do after the
Enlist call?
Thanks - Peter
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.