Using jboss 4.0.5; a callback timer method on a stateless bean with transaction attribute REQUIRED_NEW does not seem to 'isolate' the transaction when called concurrently. A org.hibernate.StaleStateException occurs and the whole thing is rolled back.
@Timeout @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) public void handleTimeout(Timer timer) { // pseudo code: // find obj (called on a different session bean with default settings) // if found delete object // The delete causes the stalestate when the entire batch is committed }