<commit_before>= Cloud Spanner Hibernate Codelab Solution

This is the solution for the Cloud Spanner with Hibernate ORM Codelab.

== Setup & Configuration
1. Create a Google Cloud Platform project.
2. https://cloud.google.com/docs/authentication/getting-started#creating_the_service_account[Create a service account] with Cloud Spanner permission.
Furnish a new JSON key and then set the credentials using the `GOOGLE_APPLICATION_CREDENTIALS` environment variable.
+
Alternatively, have the https://cloud.google.com/sdk/[Google Cloud SDK] installed and initialized and logged in with https://developers.google.com/identity/protocols/application-default-credentials[application default credentials].
+
----
gcloud auth application-default login
----
3. Enable the https://console.cloud.google.com/apis/api/spanner.googleapis.com/overview[Cloud Spanner API]
+<commit_msg>Link to the codelab in the solution (#160)<commit_after>= Cloud Spanner Hibernate Codelab Solution

This is the solution for the https://codelabs.developers.google.com/codelabs/cloud-spanner-hibernate[Cloud Spanner with Hibernate ORM Codelab].

== Setup & Configuration
1. Create a Google Cloud Platform project.
2. https://cloud.google.com/docs/authentication/getting-started#creating_the_service_account[Create a service account] with Cloud Spanner permission.
Furnish a new JSON key and then set the credentials using the `GOOGLE_APPLICATION_CREDENTIALS` environment variable.
+
Alternatively, have the https://cloud.google.com/sdk/[Google Cloud SDK] installed and initialized and logged in with https://developers.google.com/identity/protocols/application-default-credentials[application default credentials].
+
----
gcloud auth application-default login
----
3. Enable the https://console.cloud.google.com/apis/api/spanner.googleapis.com/overview[Cloud Spanner API]
+
{'fraction_non_alphanumeric': 0.09174809989142237, 'fraction_numerical': 0.004885993485342019, 'mean_word_length': 5.377162629757786, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6348618', 'n_tokens_mistral': 519, 'n_tokens_neox': 484, 'n_words': 161}