Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- issue36: insert by default should not be bulk

  • Loading branch information...
commit 4eb79d2ea2e5cb55bf9b0f6f24e8240baea2179a 1 parent 34bda75
Antoine Girbal authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 resource/xml/JMongoBrowser.xml
4 resource/xml/JMongoBrowser.xml
View
@@ -63,7 +63,7 @@
<CheckBox id="dropCollection" toolTipText="Drop collection before import"/>
<CheckBox id="upsert" toolTipText="Upsert values instead of insert"/>
<TextField id="upsertFields" toolTipText="Comma-separated list of fields to upsert by. If not specified, save() will be used."/>
- <CheckBox id="bulk" toolTipText="If turned on, the bulk insert function of the driver will be used. It may be faster but more client memory will be used, and error reporting is not accurate."/>
+ <CheckBox id="bulk" value="false" toolTipText="If turned on, the bulk insert function of the driver will be used. It may be faster but more client memory will be used, and error reporting is not accurate."/>
</org.mongo.jmongob.ImportDialog>
<org.mongo.jmongob.MongoPanel id="mongoPanel">
<MenuBar id="menu" zone="NORTH" minHeight="50" prefHeight="50">
@@ -354,7 +354,7 @@
<FormDialog>
<org.mongo.jmongob.DocBuilderField id="insertDoc" label="JSON Document" toolTipText="Document to insert in JSON format" nonEmpty="true"/>
<IntSpinner id="insertCount" label="Insert Count" minValue="1" value="1" toolTipText="Number of documents to insert"/>
- <CheckBox id="insertBulk" label="Bulk Insert" value="true" toolTipText="If multiple objects are inserted, use the bulk operation, faster but uses more memory."/>
+ <CheckBox id="insertBulk" label="Bulk Insert" value="false" toolTipText="If multiple objects are inserted, use the bulk operation, faster but uses more memory."/>
</FormDialog>
</MenuItem>
<MenuItem id="save" call="save">
Please sign in to comment.
Something went wrong with that request. Please try again.