spanner-hibernate

Hibernate library for Google Cloud Spanner

Лицензия

Лицензия

Категории

Категории

Hibernate Данные ORM
Группа

Группа

nl.topicus
Идентификатор

Идентификатор

spanner-hibernate
Последняя версия

Последняя версия

0.9
Дата

Дата

Тип

Тип

jar
Описание

Описание

spanner-hibernate
Hibernate library for Google Cloud Spanner
Ссылка на сайт

Ссылка на сайт

https://github.com/olavloite/spanner-hibernate
Система контроля версий

Система контроля версий

https://github.com/olavloite/spanner-hibernate

Скачать spanner-hibernate

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/nl.topicus/spanner-hibernate/ -->
<dependency>
    <groupId>nl.topicus</groupId>
    <artifactId>spanner-hibernate</artifactId>
    <version>0.9</version>
</dependency>
// https://jarcasting.com/artifacts/nl.topicus/spanner-hibernate/
implementation 'nl.topicus:spanner-hibernate:0.9'
// https://jarcasting.com/artifacts/nl.topicus/spanner-hibernate/
implementation ("nl.topicus:spanner-hibernate:0.9")
'nl.topicus:spanner-hibernate:jar:0.9'
<dependency org="nl.topicus" name="spanner-hibernate" rev="0.9">
  <artifact name="spanner-hibernate" type="jar" />
</dependency>
@Grapes(
@Grab(group='nl.topicus', module='spanner-hibernate', version='0.9')
)
libraryDependencies += "nl.topicus" % "spanner-hibernate" % "0.9"
[nl.topicus/spanner-hibernate "0.9"]

Зависимости

provided (1)

Идентификатор библиотеки Тип Версия
org.hibernate : hibernate-core jar 5.2.12.Final

Модули Проекта

Данный проект не имеет модулей.

DEPRECATED

This project is no longer actively maintained.

It is recommended to use the officially supported Hibernate dialect that can be found at https://github.com/GoogleCloudPlatform/google-cloud-spanner-hibernate in combination with the offically supported open source JDBC driver found at https://github.com/googleapis/java-spanner-jdbc.

spanner-hibernate

Hibernate Dialect for Google Cloud Spanner

This dialect can be used in combination with the community open source JDBC Driver for Google Cloud Spanner (spanner-jdbc, https://github.com/olavloite/spanner-jdbc).

Releases are available on Maven Central. Current release is version 0.8.

	<dependency>
    		<groupId>nl.topicus</groupId>
    		<artifactId>spanner-hibernate</artifactId>
    		<version>0.8</version>
	</dependency>

Generating schema

The dialect supports the automatic generation of the required schema from the metamodel. Executing DDL statements on Google Cloud Spanner can be relatively slow. In order to speed this up, the JDBC driver of Google Cloud Spanner supports automatic batching of DDL statements. This dialect can utilize this functionality of the JDBC driver by setting a custom SchemaManagementTool like this:

hibernate.schema_management_tool=nl.topicus.hibernate.dialect.CloudSpannerSchemaManagementTool

Have a look at this sample project on how to use this setting: https://github.com/olavloite/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-data-rest

Версии библиотеки

Версия
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1