profile
viewpoint

issue openedgoogleapis/dotnet-spanner-nhibernate

Test creating/updating/deleting data model from entity model

NHibernate allows users to automatically generate/update/delete the data model from the entity model. This feature should only generate valid Spanner DDL statements. This feature is currently not tested by the driver implementation.

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Test that single (Batch) DML statements are retried if aborted

The Connection API retries explicit transactions using a checksum strategy if these are aborted by Cloud Spanner. For single (Batch) DML statements the checksum strategy is overkill, and instead the underlying transactions should use the Spanner data client SpannerRetriableTransaction version.

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Sample for using TIMESTAMP data type

Add a sample that shows how to work with the TIMESTAMP data type, and how the DateTime Clr type is mapped to this data type (and not to the DATE data type).

See also https://github.com/googleapis/dotnet-spanner-entity-framework/blob/main/Google.Cloud.EntityFrameworkCore.Spanner.Samples/Snippets/TimestampSample.cs

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Stale read sample

Add a sample that shows how to execute a single stale read query using NHibernate.

See also https://github.com/googleapis/dotnet-spanner-entity-framework/blob/main/Google.Cloud.EntityFrameworkCore.Spanner.Samples/Snippets/StaleReadSample.cs

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Sample for read-only transaction

Add a sample that shows how to use a read-only transaction in NHibernate.

See also https://github.com/googleapis/dotnet-spanner-entity-framework/blob/main/Google.Cloud.EntityFrameworkCore.Spanner.Samples/Snippets/ReadOnlyTransactionSample.cs

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Sample for querying with Linq

Add a sample that shows how to execute an NHibernate query using Linq.

See also https://github.com/googleapis/dotnet-spanner-entity-framework/blob/main/Google.Cloud.EntityFrameworkCore.Spanner.Samples/Snippets/QueryWithLinqSample.cs

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Sample for query hints

Add a sample that shows how to use query hints with NHibernate. The example should show this for:

  • HQL
  • Linq
  • Criteria API

See also https://github.com/googleapis/dotnet-spanner-entity-framework/blob/main/Google.Cloud.EntityFrameworkCore.Spanner.Samples/Snippets/QueryHintSample.cs

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Sample for Partitioned DML

Add a sample that shows how an application can execute Partitioned DML by unwrapping the underlying Spanner connection.

See also https://github.com/googleapis/dotnet-spanner-entity-framework/blob/main/Google.Cloud.EntityFrameworkCore.Spanner.Samples/Snippets/PartitionedDmlSample.cs

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Sample for using mutations

Add a sample that shows how to work with mutations and what the limitations are.

See also https://github.com/googleapis/dotnet-spanner-entity-framework/blob/main/Google.Cloud.EntityFrameworkCore.Spanner.Samples/Snippets/MutationUsageSample.cs

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Sample for interleaved table

Add a sample that shows how to work with interleaved tables, and how these can be mapped as many-to-one relationships.

See also https://github.com/googleapis/dotnet-spanner-entity-framework/blob/main/Google.Cloud.EntityFrameworkCore.Spanner.Samples/Snippets/InterleavedTableSample.cs

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Sample for generated column

Add a sample that shows how to work with a generated column in NHibernate.

See also https://github.com/googleapis/dotnet-spanner-entity-framework/blob/main/Google.Cloud.EntityFrameworkCore.Spanner.Samples/Snippets/GeneratedColumnSample.cs

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Sample for Spanner DATE type

Add a sample to show how to use the Spanner DATE data type.

See also https://github.com/googleapis/dotnet-spanner-entity-framework/blob/main/Google.Cloud.EntityFrameworkCore.Spanner.Samples/Snippets/DateSample.cs

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Sample for ARRAY data type

Add a sample that shows how to use the ARRAY data type for entity properties.

created time in a day

issue openedgoogleapis/dotnet-spanner-nhibernate

Sample for automatically setting the commit timestamp to a property

Add a sample that shows how to assign the commit timestamp of a transaction to a property of an entity.

See also https://github.com/googleapis/dotnet-spanner-entity-framework/blob/main/Google.Cloud.EntityFrameworkCore.Spanner.Samples/Snippets/CommitTimestampSample.cs

created time in a day

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha dacba6d541f8f76e3ff6caaff065974b5e508362

chore: remove commented out code + fix method name

view details

push time in a day

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha afc14781c7c922edad556941a4025ee6936444b1

deps: bump Spanner Data version to 3.13 and use release (#15) * deps: bump Spanner Data version to 3.13 and use release Removes the Spanner.Data project from the solution and instead depends on the released 3.13 version of the Spanner.Data library. * fix: typo in build script * build: add integration tests on emulator to build * build: try with specific emulator version * fix: wrong env var name * build: try with older version of emulator * build: try with IP instead of localhost * build: increase logging * fix: remove invalid project reference * build: reduce logging * build: add unit tests to steps to check * fix: add missing xunit config file * build: disable parallel tests * build: set --no-build option * fix: rename env var * build: try with udp port * fix: allow emulator detection * build: try to run only one test * build: try with one more test * build: try with only query tests * build: try with two non-parallel test collections * build: mark all tests as non-parallel * build: try with one parallel test * build: try with two parallel tests * build: try with one parallel thread * build: mark all as non-parallel

view details

Knut Olav Løite

commit sha ace3d71d5ff45cac4b97ec716dad3d576a5f4e75

Merge branch 'main' into merge-spanner-entity-persisters

view details

push time in 2 days

delete branch googleapis/dotnet-spanner-nhibernate

delete branch : use-spanner-data-313

delete time in 2 days

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha afc14781c7c922edad556941a4025ee6936444b1

deps: bump Spanner Data version to 3.13 and use release (#15) * deps: bump Spanner Data version to 3.13 and use release Removes the Spanner.Data project from the solution and instead depends on the released 3.13 version of the Spanner.Data library. * fix: typo in build script * build: add integration tests on emulator to build * build: try with specific emulator version * fix: wrong env var name * build: try with older version of emulator * build: try with IP instead of localhost * build: increase logging * fix: remove invalid project reference * build: reduce logging * build: add unit tests to steps to check * fix: add missing xunit config file * build: disable parallel tests * build: set --no-build option * fix: rename env var * build: try with udp port * fix: allow emulator detection * build: try to run only one test * build: try with one more test * build: try with only query tests * build: try with two non-parallel test collections * build: mark all tests as non-parallel * build: try with one parallel test * build: try with two parallel tests * build: try with one parallel thread * build: mark all as non-parallel

view details

push time in 2 days

PR merged googleapis/dotnet-spanner-nhibernate

deps: bump Spanner Data version to 3.13 and use release cla: yes

Removes the Spanner.Data project from the solution and instead depends on the released 3.13 version of the Spanner.Data library.

+54 -10

0 comment

10 changed files

olavloite

pr closed time in 2 days

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha 9bd7d47d965062a9ee6649e8c6dfdb5b9c95359d

build: mark all as non-parallel

view details

push time in 2 days

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha 5299ae614505c7ee414b93a2005b00df32b10e60

build: try with one parallel thread

view details

push time in 2 days

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha f93a58d687a18b17c7b7e02cdbccbaa53a2837ea

build: try with two parallel tests

view details

push time in 2 days

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha f8dad1bba0443279a9c149bcafa4716e412a24f4

build: try with one parallel test

view details

push time in 2 days

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha ab2311493f260d4e5df36f44b374ddcdf5cb70e2

build: mark all tests as non-parallel

view details

push time in 2 days

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha 78cac780130ecac09494245248e3f16f40a32e75

build: try with two non-parallel test collections

view details

push time in 2 days

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha d062dafb9b0b707e202560b7c6975217f3c737b4

build: try with only query tests

view details

push time in 2 days

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha d82b211cd06d35ae31653576390bdb70f56ee73a

build: try with one more test

view details

push time in 2 days

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha 60e8f91d411ce766992ba450a5ad7d147be4d5d0

build: try to run only one test

view details

push time in 2 days

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha 5c2842e7a8a892742c19ec9d78b5aa36659ea2c0

fix: allow emulator detection

view details

push time in 2 days

push eventgoogleapis/dotnet-spanner-nhibernate

Knut Olav Løite

commit sha fc15fdc98c10b88c7ba5cfe0b97d65b2bca60ba4

build: try with udp port

view details

push time in 2 days

more