[jboss-cvs] JBoss Messaging SVN: r2266 - trunk/src/main/org/jboss/messaging/core/plugin.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Feb 11 13:00:16 EST 2007


Author: timfox
Date: 2007-02-11 13:00:16 -0500 (Sun, 11 Feb 2007)
New Revision: 2266

Modified:
   trunk/src/main/org/jboss/messaging/core/plugin/JDBCPersistenceManagerService.java
Log:
Improved toString



Modified: trunk/src/main/org/jboss/messaging/core/plugin/JDBCPersistenceManagerService.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/plugin/JDBCPersistenceManagerService.java	2007-02-11 14:49:07 UTC (rev 2265)
+++ trunk/src/main/org/jboss/messaging/core/plugin/JDBCPersistenceManagerService.java	2007-02-11 18:00:16 UTC (rev 2266)
@@ -44,8 +44,10 @@
    
    private boolean started;
    
-   private boolean usingBatchUpdates = false;
+   private boolean usingBatchUpdates;
    
+   private boolean usingBinaryStream = true;
+   
    private int maxParams = 100;
    
    // Constructors --------------------------------------------------------
@@ -79,7 +81,7 @@
          persistenceManager =
             new JDBCPersistenceManager(ds, tm, sqlProperties,
                                        createTablesOnStartup, usingBatchUpdates,
-                                       true, maxParams);
+                                       usingBinaryStream, maxParams);
          
          persistenceManager.start();
          
@@ -135,4 +137,14 @@
    {
       this.maxParams = maxParams;
    }
+   
+   public boolean isUsingBinaryStream()
+   {
+      return usingBinaryStream;
+   }
+   
+   public void setUsingBinaryStream(boolean b)
+   {
+      usingBinaryStream = b;
+   }
 }




More information about the jboss-cvs-commits mailing list