Class SpringDataMongoDB
java.lang.Object
org.springframework.data.mongodb.SpringDataMongoDB
-
Constructor Details
-
SpringDataMongoDB
public SpringDataMongoDB()
-
-
Method Details
-
driverInformation
public static com.mongodb.MongoDriverInformation driverInformation()Obtain the SpringData MongoDB specific driver information.- Returns:
- never null.
-
version
Fetches the "Implementation-Version" manifest attribute from the jar file.
Note that some ClassLoaders do not expose the package metadata, hence this class might not be able to determine the version in all environments. In this case the current Major version is returned as a fallback.- Returns:
- never null.
-