Azure Elastic Database Tools

Microsoft Azure Elastic database tools client library allows Java JDBC developers to create applications that implement and use the pattern known as database sharding in Azure SQL Database.

License

License

GroupId

GroupId

com.microsoft.azure
ArtifactId

ArtifactId

elastic-db-tools
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Azure Elastic Database Tools
Microsoft Azure Elastic database tools client library allows Java JDBC developers to create applications that implement and use the pattern known as database sharding in Azure SQL Database.
Project URL

Project URL

https://github.com/Microsoft/elastic-db-tools-for-java
Source Code Management

Source Code Management

https://github.com/Microsoft/elastic-db-tools-for-java

Download elastic-db-tools

How to add to project

<!-- https://jarcasting.com/artifacts/com.microsoft.azure/elastic-db-tools/ -->
<dependency>
    <groupId>com.microsoft.azure</groupId>
    <artifactId>elastic-db-tools</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.microsoft.azure/elastic-db-tools/
implementation 'com.microsoft.azure:elastic-db-tools:1.1.0'
// https://jarcasting.com/artifacts/com.microsoft.azure/elastic-db-tools/
implementation ("com.microsoft.azure:elastic-db-tools:1.1.0")
'com.microsoft.azure:elastic-db-tools:jar:1.1.0'
<dependency org="com.microsoft.azure" name="elastic-db-tools" rev="1.1.0">
  <artifact name="elastic-db-tools" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.microsoft.azure', module='elastic-db-tools', version='1.1.0')
)
libraryDependencies += "com.microsoft.azure" % "elastic-db-tools" % "1.1.0"
[com.microsoft.azure/elastic-db-tools "1.1.0"]

Dependencies

compile (8)

Group / Artifact Type Version
org.apache.commons : commons-lang3 jar 3.5
commons-collections : commons-collections jar 3.2.2
com.google.guava : guava jar 19.0
com.microsoft.sqlserver : mssql-jdbc jar 6.1.0.jre8
javax.xml.parsers : jaxp-api jar 1.4.5
org.slf4j : slf4j-api jar 1.7.25
org.apache.logging.log4j : log4j-slf4j-impl jar 2.8.2
org.apache.logging.log4j : log4j-core jar 2.8.2

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Elastic database tools for JAVA (Azure SQL Database)

The elastic database client library allows JAVA developers to create applications that use database sharding in Azure SQL Database. This repository contains the library/tools along with a sample project. For the C# version of the database tools client library, see https://github.com/Azure/elastic-db-tools. For more information on Azure SQL database tools for managing scaled out databases, see the documentation.

Prerequisites

  • A Java Developer Kit (JDK), v 1.8 or later
  • Maven
  • A logical server in Azure or local SQL Server

Running the sample code in sample

Follow the steps below to build the JAR files and get started with the sample project:

  • Clone the repository
  • Edit the ./sample/src/main/resources/resource.properties file to add your username, password, and logical server name.
  • From the ./sample directory, run the following command to build the sample project.
    mvn install
  • From the ./sample directory, run the following command to start the sample project.
    mvn -q exec:java "-Dexec.mainClass=com.microsoft.azure.elasticdb.samples.elasticscalestarterkit.Program"

Download

For using the released JAR, simply add the following dependancy to your POM file:

<dependency>
      <groupId>com.microsoft.azure</groupId>
      <artifactId>elastic-db-tools</artifactId>
      <version>1.0.0</version>
</dependency>

Contribute code

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

If you would like to become an active contributor to this project please follow the instructions provided in Microsoft Azure Projects Contribution Guidelines.

  1. Fork the repository
  2. Create your branch (git checkout -b my-new-branch)
  3. Commit your changes (git commit -am 'Add some change/feature')
  4. Push to the branch (git push origin my-new-branch)
  5. Create new Pull Request

License

The elastic database client library for Java is licensed under the MIT license. See the LICENSE file for more details.

Code of conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

com.microsoft.azure

Microsoft

Open source projects and samples from Microsoft

Versions

Version
1.1.0
1.0.0