Elastic database tools client library allows JAVA developers to create applications that use database sharding in Azure SQL Database.
Перейти к файлу
microsoft-github-policy-service[bot] 27fc0bf657
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2022-11-28 19:11:45 +00:00
elastic-db-tools Fixed ShardLocation port issue 2018-06-21 17:34:00 +05:30
sample Fixed ShardLocation port issue 2018-06-21 17:34:00 +05:30
.gitattributes Initial file upload 2017-10-22 19:34:57 -07:00
.gitignore Initial file upload 2017-10-22 19:34:57 -07:00
Code_Formatter.xml Initial file upload 2017-10-22 19:34:57 -07:00
Coding_Guidelines.md Initial file upload 2017-10-22 19:34:57 -07:00
LICENSE Initial file upload 2017-10-22 19:34:57 -07:00
README.md Adding documentation link 2017-12-01 10:47:55 -08:00
SECURITY.md Microsoft mandatory file 2022-08-29 14:03:05 +00:00

README.md

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 opencode@microsoft.com with any additional questions or comments.