This content has been marked as final.
Show 2 replies
-
1. Re: DDL and transactions
davidjencks Nov 21, 2002 12:00 AM (in response to msquance)The code related to this in 3.x and 2.x is pretty much completely unrelated.
You also don't give any indication of what you want to have happen. IMO doing DDL and DML in the same transaction is asking for big trouble. I don't see why it is a problem that Oracle commits work if you start doing DDL.
If you realy want to try something else, you could try putting the DDL in another session bean that you call with tx Requires new or none. -
2. Re: DDL and transactions
msnair Dec 16, 2002 2:28 PM (in response to msquance)Hello,
DDLs (Data Definition Languages) should not be used inside Transactions. On popular RDBMSes, firing a DDL results in an implicit commit which will terminate any on-going user transaction.
HTH
regards
MS