Skip to content

Commit

Permalink
feat(driver-mongodb): fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
qianmoQ committed Dec 4, 2024
1 parent e352048 commit b56b2af
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 324 deletions.
1 change: 1 addition & 0 deletions .github/workflows/bofore_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ jobs:
-Dcos.access="$COS_ACCESS" -Dcos.secret="$COS_SECRET" -Dcos.bucket="$COS_BUCKET" -Dcos.endpoint="$COS_ENDPOINT" \
-Ds3.access="$S3_ACCESS" -Ds3.secret="$S3_SECRET" -Ds3.bucket="$S3_BUCKET" -Ds3.endpoint="$S3_ENDPOINT"
before_checker_package:
runs-on: ubuntu-latest
needs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,16 +247,12 @@ public Map<String, Class<?>> getTypeMap()
@Override
public void setTypeMap(Map<String, Class<?>> map)
throws SQLException
{

}
{}

@Override
public void setHoldability(int holdability)
throws SQLException
{

}
{}

@Override
public int getHoldability()
Expand Down Expand Up @@ -439,6 +435,7 @@ public void setAutoCommit(boolean autoCommit)
{
// MongoDB doesn't support transactions in the same way as relational databases
// MongoDB 不支持与关系数据库相同的事务
throw new UnsupportedOperationException("MongoDB doesn't support transactions in the same way as relational databases");
}

@Override
Expand Down
Loading

0 comments on commit b56b2af

Please sign in to comment.