@Override
protected boolean addTxResources(Transaction tx)
{
if (super.addTxResources(tx))
{
TestEntityHelperLocal testEntityHelper;
try
{
testEntityHelper = (TestEntityHelperLocal) new InitialContext().lookup(TestEntityHelper.LOCAL_JNDI_NAME);
return testEntityHelper.updateTestEntity(testEntityPK);
}
catch (NamingException e)
{
e.printStackTrace();
}