Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I'm trying to support a variable set of direct change operations (such as setting effectivity, updating lifecycle states and part attribute values) on Windchill PDMLink 9.1 M040 parts (WTParts and EPMDocuments) and I'd like to "sandwich" the operations inside a transaction block from a windchill client (i.e., Tomcat or a standalone RMI client).
I've tried using "trx = new Transaction(); trx.start(); myoperations(); trx.commit();" in an RMI client and am getting "wt.methodNo active mLifecycleState);", etc.)
From the APIdoc, it's not clear if this is the right way to do this, or what else I need to do to set it up right, if anything. Is "wt.pom.Transaction" even supposed to work client side? What is the best / correct way to do what I want?
Any pointers will be much appreciated!
Can you use just a java UserTransaction instead wt.pom.TransactionCan you use a distributed model like XA resources/transactions?
If you can point to some presentation or docs specifically it will be great.