mongo-java-driver icon indicating copy to clipboard operation
mongo-java-driver copied to clipboard

The official MongoDB drivers for Java, Kotlin, and Scala

Results 64 mongo-java-driver issues
Sort by recently updated
recently updated
newest added

Encoding a generic class object with a nullable type parameter, like `DataClassWithNullableGeneric`, will fail with `org.bson.BsonInvalidOperationException: writeString can only be called when State is VALUE, not when State is NAME`...

JAVA-5305 Implement Serializable for WriteError. This is the only non-serializable field in MongoWriteException. Exceptions are supposed to be serializable.

avoids providing null to parameters that are not nullable, allowing for the usage of default values. example: given a data Class: ``` data class Item(val name:String, val category:String = "default")...

[JAVA-5274](https://jira.mongodb.org/browse/JAVA-5274)

`Java5018.java` contains a smoke test and instructions on how to set up and start atlasproxy. The core code where we integrate with Java gRPC is in the following classes: -...

(currently for requests only since server does not yet support configuring zstd compression level for responses) JAVA-4969

If we have an interface like: ``` public interface SampleInterface { int getFirst(); String getSecond(); } ``` which is implemented as: ``` public abstract class SampleImplementor implements SampleInterface { public...

external