Skip to content

Commit

Permalink
[improvements]
Browse files Browse the repository at this point in the history
- update nexial-lib to [1.3](https://github.com/nexiality/fixes/releases/download/nexial-lib-1.3/nexial-lib-1.3.zip)

[rdbms]
- update Mongodb JDBC support to wisecoder's `mongojdbc4.1`

Signed-off-by: automike <[email protected]>
  • Loading branch information
mikeliucc authored and mikeliu-cvet committed Jun 27, 2022
1 parent 09e2376 commit 912a335
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 13 deletions.
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,6 @@ dependencies {
compile("org.ini4j:ini4j:+")

// support: data sources
// compile("org.mongodb:mongodb-driver-async:${mongoDriverVersion}")
compile("org.mongodb:mongo-java-driver:${mongoDriverVersion}")
// support Azure database connectivity
implementation("com.microsoft.azure:msal4j:${msal4jVersion}")

Expand Down
Binary file added lib/bson-4.5.1.jar
Binary file not shown.
Binary file added lib/graal-sdk-22.0.0.2.jar
Binary file not shown.
Binary file added lib/js-22.0.0.2.jar
Binary file not shown.
Binary file added lib/js-scriptengine-22.0.0.2.jar
Binary file not shown.
Binary file added lib/mongodb-driver-core-4.5.1.jar
Binary file not shown.
Binary file added lib/mongodb-driver-sync-4.5.1.jar
Binary file not shown.
Binary file removed lib/mongojdbc1.8.jar
Binary file not shown.
Binary file added lib/mongojdbc4.1.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/nexial-lib-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2
1.3
Binary file added lib/regex-22.0.0.2.jar
Binary file not shown.
Binary file added lib/truffle-api-22.0.0.2.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@

package org.nexial.core.plugins.db;

import com.mongodb.client.result.DeleteResult;
import com.mongodb.client.result.UpdateResult;
import com.wisecoders.dbschema.mongodb.resultSet.ObjectAsResultSet;
import com.wisecoders.dbschema.mongodb.resultSet.OkResultSet;
import org.apache.commons.lang3.StringUtils;
import org.bson.Document;
import org.nexial.core.utils.JsonUtils;

import java.io.File;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
Expand All @@ -26,15 +34,6 @@
import java.util.List;
import java.util.Map;

import org.apache.commons.lang3.StringUtils;
import org.bson.Document;
import org.nexial.core.utils.JsonUtils;

import com.dbschema.resultSet.ObjectAsResultSet;
import com.dbschema.resultSet.OkResultSet;
import com.mongodb.client.result.DeleteResult;
import com.mongodb.client.result.UpdateResult;

import static org.nexial.core.plugins.db.SqlComponent.Type.*;

public class MongodbJdbcExtractionDao extends SimpleExtractionDao {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/nexial.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
<entry key="sqlite" value="org.sqlite.JDBC"/>
<entry key="hsqldb" value="org.hsqldb.jdbc.JDBCDriver"/>
<!-- https://bitbucket.org/dbschema/mongodb-jdbc-driver/src/master/ -->
<entry key="mongodb" value="com.dbschema.MongoJdbcDriver"/>
<entry key="mongodb" value="com.wisecoders.dbschema.mongodb.JdbcDriver"/>
<entry key="mariadb" value="org.mariadb.jdbc.Driver"/>
</map>
</property>
Expand Down

0 comments on commit 912a335

Please sign in to comment.