Hi,
Just one question.
Using ODMG, if deletePersistent(o) is called from the Impl.getDatabase(),
how SQL DELETE query post can be done with the other INSERT/UPDATE in
the same SQL transaction without refering THE transaction? Why ODMG delete
object tutorial talk about deletePersitent way,
Looking into OJB implemenations, it seems that deletePersistent use the
transaction of the current thread. So ok for the SQL transaction sequence,
sorry for asking in last mail. I was confused between DB.deletePersistent(o),
ExtTx.markDelete(o), and ExtTx.deletePersistent(o) methods. It seems all
Hi Bruno,
Bruno CROS wrote:
Hi,
Just one question.
Using ODMG, if deletePersistent(o) is called from the Impl.getDatabase(),
how SQL DELETE query post can be done with the other INSERT/UPDATE in
the same SQL transaction without refering THE transaction?
Within the Database object the tx
Bruno CROS wrote:
Looking into OJB implemenations, it seems that deletePersistent use the
transaction of the current thread. So ok for the SQL transaction sequence,
sorry for asking in last mail. I was confused between
DB.deletePersistent(o),
ExtTx.markDelete(o), and ExtTx.deletePersistent(o)