Friday, 19 February 2016

[JDBC] Unity Mongo JDBC Driver Properties

Unity Mongo JDBC Driver

Property NameDescriptionReqiredChoicesSample Value
debugThe debug property will cause the driver to print out debug information to the console during its operation.false
true
false
false
userUser name for connection.true
bizteco
passwordPassword for connection.false
btc7btc
cursorFor scrollable ResultSets, should the cursor be on the client or server.false
client
server
client
encodingCharacter encoding used.false
utf-8
utf-8
dbnameDatabase name to use.false
admin
validationSchema validation performed. Strict validation ensures all identifiers are in schema. Flex validation will perform best effort validation against a schema (if present) but attempt to execute query in all cases. None will never generate or use any schema information.false
strict
flex
none
flex
schemaLocation of schema. Either a file URI or location in MongoDB.false
mongo:192.168.0.13:8989/db/_schema
rebuildschemaIf true, rebuilds schema for connection. If false, uses existing cached schema if available. Uses location provided in schema property.false
true
false
false
readprefSpecifies a MongoDB ReadPreference such as primary, secondary, or nearest.false
primary
primarypref
secondary
secondarypref
nearest
primary
readparamUsed to pass parameters to configure ReadPreference in the form of JSON strings which are converted to DBObjects.false
JSON string that will be converted into DBObject as ReadPreference parameters.
writeconcernWrite concern controls how writing and updated are handled. Settings such as unacknowledged or acknowledged are possible.false
unack
ack
replicaAck
journaled
ack
writeparamUsed to configure a write concern based on a tag name. Calls WriteConcern(String w) constructor with value as w parameter.false
sslUse SSL connections to Mongo instance.false
true
false
false
samplesizeWhen building schemas fraction of collection to sample in the range of 0 to 1. Default is 0.001.false
0
1
logFile location of log file to store debugging information if debug is true.false

No comments:

Post a Comment