This content has been marked as final. Show 1 reply
The Asynchronous process ( new thread created) which is not on the http request thread was market as @TransactionAttribute(TransactionAttributeThype.NOT_SUPPORTED) which made any change to update the TreeCache only and not the database upon calling EntityManger.persist(EntityBean) followed by EntityManager flus()
By annotating it with TransactoionSupportType.SUPPORTS sort the problem and persist into the database.
The only difference between the admin page and this process was the transaction support.