|
Execute SQL directly within a DBTransaction: msg#00032java.enhydra.general
Hi! I am wondering how to execute direct sql code and update some other enhydra database objects in the same transaction. I know how execute a sql statemente directly, via databaseManager.allocateConnection(). I need to know how to combine the two approaches in the same transactional context. Example: DBTransaction dbTrans = databaseManager.createTransaction(); DBConnection enhydraConn = databaseManager.allocateConnection(); 1. execute some direct sql commands (ex. some complex delete statements) 2. execute some DO commands like dbTrans.insert 3. commit Thanks for any help! Axel ===== Axel Wilhelm Berle e-mail: axelberle@xxxxxxxx Tel: (office) +55 16 618.0090 (mobile) +55 16 9964.6343 __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Enhydra and SOAP, Sinisa Milosevic |
|---|---|
| Next by Date: | Execute SQL directly within a DBTransaction, Axel Wilhelm Berle |
| Previous by Thread: | More Enhydra 5.1beta8 questions?, Boris Klug |
| Next by Thread: | Execute SQL directly within a DBTransaction, Axel Wilhelm Berle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |