ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mad...@apache.org
Subject incubator-argus git commit: ARGUS-185: optimize database transaction usage in admin web application
Date Mon, 17 Nov 2014 20:28:33 GMT
Repository: incubator-argus
Updated Branches:
  refs/heads/master 1d9ffb4f7 -> 526345bdb


ARGUS-185: optimize database transaction usage in admin web application

Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/526345bd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/526345bd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/526345bd

Branch: refs/heads/master
Commit: 526345bdb3a76cbb2c8a8a22e3d5cfd7a18ecf6e
Parents: 1d9ffb4
Author: Madhan Neethiraj <madhan@apache.org>
Authored: Mon Nov 17 11:58:38 2014 -0800
Committer: Madhan Neethiraj <madhan@apache.org>
Committed: Mon Nov 17 11:58:38 2014 -0800

----------------------------------------------------------------------
 security-admin/src/main/java/com/xasecure/biz/AssetMgr.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/526345bd/security-admin/src/main/java/com/xasecure/biz/AssetMgr.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/biz/AssetMgr.java b/security-admin/src/main/java/com/xasecure/biz/AssetMgr.java
index a96dab9..521cea7 100644
--- a/security-admin/src/main/java/com/xasecure/biz/AssetMgr.java
+++ b/security-admin/src/main/java/com/xasecure/biz/AssetMgr.java
@@ -2170,7 +2170,7 @@ public class AssetMgr extends AssetMgrBase {
 			final XXPolicyExportAudit xXPolicyExportAudit) {
 		TransactionTemplate txTemplate = new TransactionTemplate(txManager);
 		txTemplate
-				.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRES_NEW);
+				.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRED);
 		XXPolicyExportAudit policyExportAudit = (XXPolicyExportAudit) txTemplate
 				.execute(new TransactionCallback<Object>() {
 					public Object doInTransaction(TransactionStatus status) {


Mime
View raw message