Added transaction management within entity listeners for solr indexing