org.hibernate.ogm.datastore.mongodb
Interface Environment


public interface Environment

Configuration options of the MongoDB GridDialect

Author:
Sanne Grinovero (C) 2012 Red Hat Inc.

Field Summary
static String MONGODB_ASSOCIATIONS_STORE
          Where to store associations.
static String MONGODB_DATABASE
          The MongoDB Database name to connect to.
static String MONGODB_DEFAULT_ASSOCIATION_STORE
           
static String MONGODB_DEFAULT_HOST
          The default host used to connect to MongoDB: if the MONGODB_HOST property is not set, we'll attempt to connect to localhost.
static int MONGODB_DEFAULT_PORT
          The default port used to connect to MongoDB: if the MONGODB_PORT property is not set, we'll try this port.
static boolean MONGODB_DEFAULT_SAFE
          The default value used to configure the safe mode MONGODB_SAFE
static int MONGODB_DEFAULT_TIMEOUT
          The default value used to set the timeout during the connection to the MongoDB instance (@link #MONGODB_TIMEOUT) This value is set in milliseconds
static String MONGODB_HOST
          The hostname of the MongoDB instance.
static String MONGODB_PASSWORD
          The password of the MongoDB admin database with authentication enabled.
static String MONGODB_PORT
          The port of the MongoDB instance.
static String MONGODB_SAFE
          Run the driver in safe mode (use WriteConcern.SAFE for all operations)
static String MONGODB_TIMEOUT
          The timeout used at the connection to the MongoDB instance.
static String MONGODB_USERNAME
          The username of the MongoDB admin database with authentication enabled.
 

Field Detail

MONGODB_DATABASE

static final String MONGODB_DATABASE
The MongoDB Database name to connect to.

See Also:
Constant Field Values

MONGODB_PORT

static final String MONGODB_PORT
The port of the MongoDB instance.

See Also:
Constant Field Values

MONGODB_SAFE

static final String MONGODB_SAFE
Run the driver in safe mode (use WriteConcern.SAFE for all operations)

See Also:
Constant Field Values

MONGODB_HOST

static final String MONGODB_HOST
The hostname of the MongoDB instance.

See Also:
Constant Field Values

MONGODB_USERNAME

static final String MONGODB_USERNAME
The username of the MongoDB admin database with authentication enabled.

See Also:
Constant Field Values

MONGODB_PASSWORD

static final String MONGODB_PASSWORD
The password of the MongoDB admin database with authentication enabled.

See Also:
Constant Field Values

MONGODB_TIMEOUT

static final String MONGODB_TIMEOUT
The timeout used at the connection to the MongoDB instance. This value is set in milliseconds.

See Also:
Constant Field Values

MONGODB_DEFAULT_HOST

static final String MONGODB_DEFAULT_HOST
The default host used to connect to MongoDB: if the MONGODB_HOST property is not set, we'll attempt to connect to localhost.

See Also:
Constant Field Values

MONGODB_DEFAULT_PORT

static final int MONGODB_DEFAULT_PORT
The default port used to connect to MongoDB: if the MONGODB_PORT property is not set, we'll try this port.

See Also:
Constant Field Values

MONGODB_DEFAULT_SAFE

static final boolean MONGODB_DEFAULT_SAFE
The default value used to configure the safe mode MONGODB_SAFE

See Also:
Constant Field Values

MONGODB_ASSOCIATIONS_STORE

static final String MONGODB_ASSOCIATIONS_STORE
Where to store associations.

See Also:
Constant Field Values

MONGODB_DEFAULT_ASSOCIATION_STORE

static final String MONGODB_DEFAULT_ASSOCIATION_STORE
See Also:
Constant Field Values

MONGODB_DEFAULT_TIMEOUT

static final int MONGODB_DEFAULT_TIMEOUT
The default value used to set the timeout during the connection to the MongoDB instance (@link #MONGODB_TIMEOUT) This value is set in milliseconds

See Also:
Constant Field Values


Copyright © 2010-2012 Hibernate. All Rights Reserved.