All,
I have a simple question, it seems that we have 2 ways
of using the current persistence plugin:
Transaction tx =
registry.getPersistenceStore().getTransaction();
tx.begin();
registry.getPersistenceStore().lockForWrite(pa);
pa.addUserAttribute(userAttrName, userAttrDesc);
tx.commit();
or
persistenceStore.lockForWrite(internalUser);
persistenceStore.getTransaction().checkpoint();
I would like to clarify the difference between the two
approaches. My understanding was that they were
equivalent. Is this correct?
Regards,
David.
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]