Commit transaction in groovy

def tx = de.hybris.platform.tx.Transaction.current();
... do something
tx.commit();
tx.begin();

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.