Skip to content

Commit df5a348

Browse files
committed
feat: joins without on statement in oracle style
1 parent 242ee8e commit df5a348

File tree

4 files changed

+225
-116
lines changed

4 files changed

+225
-116
lines changed

src/main/scala/dev/mongocamp/driver/mongodb/jdbc/MongoJdbcDriver.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class MongoJdbcDriver extends java.sql.Driver {
2929

3030
val string = new ConnectionString(connectionUrl)
3131
val database = Option(string.getDatabase).getOrElse(Option(info.getProperty(MongodbJdbcDriverPropertyInfoHelper.Database)).getOrElse("admin"))
32-
val authDb = Option(info.getProperty(MongodbJdbcDriverPropertyInfoHelper.AuthDatabase)).getOrElse(Option(string.getDatabase).getOrElse("admin"))
32+
val authDb = Option(info.getProperty(MongodbJdbcDriverPropertyInfoHelper.AuthDatabase)).getOrElse("admin")
3333
val provider = DatabaseProvider(
3434
MongoConfig(
3535
database,

0 commit comments

Comments
 (0)