directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r440184 - /directory/sandbox/ersiner/sptriggerdemo/src/main/java/sptriggerdemo/SPMainDemo.java
Date Mon, 04 Sep 2006 20:50:49 GMT
Author: ersiner
Date: Mon Sep  4 13:50:49 2006
New Revision: 440184

URL: http://svn.apache.org/viewvc?view=rev&rev=440184
Log:
Added verbosity.

Modified:
    directory/sandbox/ersiner/sptriggerdemo/src/main/java/sptriggerdemo/SPMainDemo.java

Modified: directory/sandbox/ersiner/sptriggerdemo/src/main/java/sptriggerdemo/SPMainDemo.java
URL: http://svn.apache.org/viewvc/directory/sandbox/ersiner/sptriggerdemo/src/main/java/sptriggerdemo/SPMainDemo.java?view=diff&rev=440184&r1=440183&r2=440184
==============================================================================
--- directory/sandbox/ersiner/sptriggerdemo/src/main/java/sptriggerdemo/SPMainDemo.java (original)
+++ directory/sandbox/ersiner/sptriggerdemo/src/main/java/sptriggerdemo/SPMainDemo.java Mon
Sep  4 13:50:49 2006
@@ -32,7 +32,7 @@
 
 
 /**
- * Demo utility for Stored Procedures and Triggers.
+ * Entry point for a real world demo of Stored Procedures.
  * 
  * @author <a href="mailto:ersiner@apache.org">Ersin Er</a>
  */
@@ -62,7 +62,10 @@
 
         JavaStoredProcedureUtils.loadStoredProcedureClass( spCtx, BulkOperations.class );
 
-        JavaStoredProcedureUtils.callStoredProcedure( ctx, BulkOperations.class.getName()
+ ".delSubtree",
-            new Object[] { new LdapContextParameter( "ou=system" ), new LdapDN( "ou=Mailing
Lists") } );
+        String spName = BulkOperations.class.getName() + ".delSubtree";
+        Object[] params = new Object[] { new LdapContextParameter( "ou=system" ),
+                                         new LdapDN( "ou=Mailing Lists") };
+        
+        JavaStoredProcedureUtils.callStoredProcedure( ctx, spName, params );
     }
 }



Mime
View raw message