Created
July 26, 2019 18:47
-
-
Save olim7t/1821be4861f3689e1e5186d6c2946d15 to your computer and use it in GitHub Desktop.
Test project to reproduce JAVA-1252, and check if JAVA-2365 will cause the same issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scalaVersion in ThisBuild := "2.13.0" // 2.11.12 to reproduce JAVA-1252 | |
organization in ThisBuild := "com.example" | |
lazy val hello = (project in file(".")) | |
.settings( | |
name := "Hello", | |
resolvers += Resolver.mavenLocal, | |
libraryDependencies += "com.datastax.oss" % "java-driver-core" % "4.1.1-SNAPSHOT", | |
libraryDependencies += "com.datastax.dse" % "dse-java-driver-core" % "1.8.2" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// (in src/main/scala/example/) | |
package example | |
import com.datastax.oss.driver.api.core.cql.BatchType | |
import com.datastax.driver.dse.DseCluster | |
object Hello extends App { | |
// Test if JAVA-2365 creates a problem: | |
println(BatchType.LOGGED) | |
// Reproduce JAVA-1252 (Scala 2.11 only): | |
new DseCluster.Builder() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment