| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
An example that demonstrates read, write, and administrative operations using Spring Data Cloud Spanner.
This sample requires Java and Maven for building the application.
This sample includes 3 classes that demonstrate how to use Spring Data Cloud Spanner to perform read, write, and database admin operations.
Follow the set-up instructions in the documentation.
Enable APIs for your project. Click here to visit Cloud Platform Console and enable the Google Cloud Spanner API.
Create a Cloud Spanner instance and database via the Cloud Plaform Console's Cloud Spanner section.
Enable application default credentials by running the command gcloud auth application-default login.
Supply your instance and database name in src/main/resources/application.properties
Run the following Maven command to run QuickStartSample, which runs table creation, write, and read operations:
mvn clean spring-boot:run
| Back | FazBrowse Home | New Git URL |