Skip to Content
0
Apr 13, 2012 at 08:25 AM

OO transaction

69 Views

Hello Gurus,

does anyone know if one can call with a OO Transaction a method of a class for which i already have a instance?

The problem is that i have two tables that i want to pass to a oo transaction and i can't write them on the database. The solution that i have got is to pass the two internal tables to a instance of the class and than call the method i need using a transaction(i has to be a transaction), but the OO Transaction creates its own instance of the class and therefor my instance attributes are not to see.

Example:

1. say, i have the instance number "10" that i created and this instance contains two tables, two attributes that i need.

2. i am only aloud to call the method of the same class that need the two above mentioned tables with a OO transaction. When i call the transaction it is creating its own instance of the class, say "22" but the tables that i need are in "10" instance.

γ€€

γ€€

Kinds regards

Ioan.