Skip to content

Commit

Permalink
0.9.3 support for mongodb 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
avbravo committed Jan 6, 2017
1 parent 9ceb25c commit a10bbc2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
9 changes: 7 additions & 2 deletions jgmongo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.jgmongo</groupId>
<artifactId>jgmongo</artifactId>
<version>0.9.2</version>
<version>0.9.3</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver</artifactId>
<version>3.3.0</version>
<version>3.4.0</version>
</dependency>
<!-- <dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver</artifactId>
<version>3.3.0</version>
</dependency>-->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.mongodb.client.MongoCursor;
import com.mongodb.client.MongoDatabase;
import com.mongodb.client.MongoIterable;
import com.mongodb.client.model.Collation;
import com.mongodb.client.model.Filters;
import static com.mongodb.client.model.Filters.eq;
import static com.mongodb.client.model.Filters.gt;
Expand Down Expand Up @@ -1019,6 +1020,11 @@ public void forEach(Block<? super Document> block) {
public <A extends Collection<? super Document>> A into(A a) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}

@Override
public FindIterable<Document> collation(Collation cltn) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
};
return iterable;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.mongodb.client.MongoCursor;
import com.mongodb.client.MongoDatabase;
import com.mongodb.client.MongoIterable;
import com.mongodb.client.model.Collation;
import com.mongodb.client.model.Filters;
import static com.mongodb.client.model.Filters.eq;
import static com.mongodb.client.model.Filters.gt;
Expand Down Expand Up @@ -906,6 +907,11 @@ public void forEach(Block<? super Document> block) {
public <A extends Collection<? super Document>> A into(A a) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}

@Override
public FindIterable<Document> collation(Collation cltn) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
};
return iterable;
}
Expand Down

0 comments on commit a10bbc2

Please sign in to comment.