-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- handle VARBINARY and LONGVARBINARY types with either ByteArrayInputStream or byte[] in the methods CassandraPreparedStatement.setObject(). - fix configuration of the local datacenter using the one from the configuration file when such a file is used.
- Loading branch information
Showing
7 changed files
with
151 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
datastax-java-driver { | ||
# The two following properties should be ignored by the JDBC wrapper. | ||
basic.contact-points = [ "fake-server:9042" ] | ||
basic.session-keyspace = testKeyspace | ||
|
||
# All the following properties should be taken into account by the JDBC wrapper. | ||
basic.request { | ||
consistency = LOCAL_ONE | ||
timeout = 10 seconds | ||
} | ||
|
||
basic.load-balancing-policy { | ||
class = DefaultLoadBalancingPolicy | ||
local-datacenter = datacenter1 | ||
} | ||
|
||
advanced.auth-provider { | ||
class = PlainTextAuthProvider | ||
username = testUser | ||
password = testPassword | ||
} | ||
|
||
advanced.ssl-engine-factory { | ||
class = DefaultSslEngineFactory | ||
hostname-validation = false | ||
# The variable 'TRUSTSTORE_PATH' is replaced by the real truststore path in the tests using this configuration file. | ||
truststore-path = $TRUSTSTORE_PATH | ||
truststore-password = changeit | ||
} | ||
} |