openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r1161622 - /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
Date Thu, 25 Aug 2011 16:11:08 GMT
Author: ppoddar
Date: Thu Aug 25 16:11:08 2011
New Revision: 1161622

URL: http://svn.apache.org/viewvc?rev=1161622&view=rev
Log:
OPENJPA-2030: Audit is inactive by default

Modified:
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java?rev=1161622&r1=1161621&r2=1161622&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
(original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
Thu Aug 25 16:11:08 2011
@@ -594,9 +594,7 @@ public class OpenJPAConfigurationImpl
         auditorPlugin = addPlugin("Auditor", true);
         aliases = new String[] { "default", AuditLogger.class.getName(), };
         auditorPlugin.setAliases(aliases);
-        auditorPlugin.setDefault(aliases[0]);
-        auditorPlugin.setString(aliases[0]);
-        auditorPlugin.setInstantiatingGetter("getAuditor");
+        auditorPlugin.setInstantiatingGetter("getAuditorInstance");
         
         // initialize supported options that some runtimes may not support
         supportedOptions.add(OPTION_NONTRANS_READ);



Mime
View raw message