If you use the Updates class in this way Updates.set("array", value) where value is a BasicDbList Object the result of the insert is
{
"_id" : "ID",
"array" :
}
The list BasicDBList is now a document instead of a list
If you use the Updates class in this way Updates.set("array", value) where value is a BasicDbList Object the result of the insert is
{
"_id" : "ID",
"array" :
}
The list BasicDBList is now a document instead of a list