olavloite
Repos
57
Followers
19

Cloud Spanner Change Watcher and Publisher - Detects data changes in Cloud Spanner databases

24
10

Smart Commit JDBC Driver

5
0

Events

pull request opened
feat: [WIP] support mutations as SQL statements

WORK IN PROGRESS (experiment)

Add an opt-in to the Connection API to automatically convert (simple) DML statements to mutations.

Created at 12 hours ago
create branch
olavloite create branch support-sql-to-mutations
Created at 12 hours ago

test: load relationships

Created at 20 hours ago

fix: explicitly add /tmp as domain socket

Created at 1 day ago

chore: add pg_class as CTE (#515)

Merge branch 'postgresql-dialect' into sqlalchemy

test: add more ORM tests

Created at 1 day ago

chore: add pg_class as CTE (#515)

Merge branch 'postgresql-dialect' into describe-other-statements

test: describe DDL statements

Created at 1 day ago

chore: add pg_class as CTE (#515)

Merge branch 'postgresql-dialect' into pg8000

Created at 1 day ago
chore(deps): update google-github-actions/setup-gcloud action to v1 (main)

Do not merge this before testing it manually with integration tests on production, as this changes the behaviour for authentication.

Created at 1 day ago

chore: cleanup and increase test coverage

Created at 1 day ago

chore(deps): update dependency jetbrains.annotations to v2022.3.1 (#245)

Created at 1 day ago
chore(deps): update dependency jetbrains.annotations to v2022.3.1 (main)

Mend Renovate

This PR contains the following updates:

| Package | Type | Update | Change | |---|---|---|---| | JetBrains.Annotations (source) | nuget | minor | 2022.1.0 -> 2022.3.1 |


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Created at 1 day ago
pull request opened
feat: accept UUID as a parameter value

Some frameworks, such as Hibernate, will assume that the PostgreSQL server supports the UUID type if the version is >= 8.3. This adds support for incoming UUID parameter values. These are converted to STRING values before being sent to Cloud Spanner.

Fixes #517

Created at 1 day ago
olavloite create branch accept-uuid-parameters
Created at 1 day ago
UUID parameter values do not work when the returned PG version is >= 8.3

Hibernate will try to use the UUID data type if PGAdapter reports that it is PostgreSQL version 8.3. or higher. UUID is currently not accepted as a valid input type, which causes the statement to fail.

Created at 1 day ago

chore(deps): update dependency grpc.aspnetcore to v2.50.0 (#235)

Created at 1 day ago
chore(deps): update dependency grpc.aspnetcore to v2.50.0 (main)

Mend Renovate

This PR contains the following updates:

| Package | Type | Update | Change | |---|---|---|---| | Grpc.AspNetCore | nuget | minor | 2.49.0 -> 2.50.0 |


Release Notes

v2.50.0

What's Changed

Full Changelog: https://github.com/grpc/grpc-dotnet/compare/v2.50.0-pre1...v2.50.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Created at 1 day ago
fix: missing select column TABLE_NAME in scaffolding

welcome! It was my first time to contribute open source. felt cool for me really ! even I just add select column to fix this small bug.

Cool to hear that it was your first contribution to open source. Hopefully many will follow in the future :-) And once again thanks for your contribution!

Created at 1 day ago

chore(deps): update dependency grpc.aspnetcore.server to v2.50.0 (#240)

Created at 1 day ago
chore(deps): update dependency grpc.aspnetcore.server to v2.50.0 (main)

Mend Renovate

This PR contains the following updates:

| Package | Type | Update | Change | |---|---|---|---| | Grpc.AspNetCore.Server | nuget | minor | 2.49.0 -> 2.50.0 |


Release Notes

v2.50.0

What's Changed

Full Changelog: https://github.com/grpc/grpc-dotnet/compare/v2.50.0-pre1...v2.50.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Created at 1 day ago
pull request opened
cleanup: sample tests could fail silently and/or randomly

Writing the properties files for sample applications did not always work, as the changes were not explicitly flushed to disk. This sometimes caused an empty properties file to be written to disk.

Also fixes an issue in the Hibernate sample test that would cause the test to get stuck if an error occurred, as the Hibernate SessionFactory was not closed in that case.

Fixes #461

Created at 1 day ago
olavloite create branch fix-sample-tests
Created at 1 day ago
Scaffold-DbContext Error due to miss column select

Hello

recently I just tried the database first migration, I found that command would throw error like this

System.IndexOutOfRangeException: TABLE_NAME
   at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)
   at System.Data.Common.DataRecordInternal.GetOrdinal(String name)
   at Google.Cloud.EntityFrameworkCore.Spanner.Scaffolding.Internal.SpannerDataReaderExtension.GetValueOrDefault[T](DbDataRecord record, String name)
   at Google.Cloud.EntityFrameworkCore.Spanner.Scaffolding.Internal.SpannerDatabaseModelFactory.<>c.<GetColumns>b__3_0(DbDataRecord ddr)
   at System.Linq.Lookup`2.Create(IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
   at System.Linq.GroupedEnumerable`2.GetEnumerator()
   at Google.Cloud.EntityFrameworkCore.Spanner.Scaffolding.Internal.SpannerDatabaseModelFactory.GetColumns(DbConnection connection, IReadOnlyList`1 tables)
   at Google.Cloud.EntityFrameworkCore.Spanner.Scaffolding.Internal.SpannerDatabaseModelFactory.GetTables(DbConnection connection)
   at Google.Cloud.EntityFrameworkCore.Spanner.Scaffolding.Internal.SpannerDatabaseModelFactory.Create(DbConnection connection, DatabaseModelFactoryOptions options)
   at Google.Cloud.EntityFrameworkCore.Spanner.Scaffolding.Internal.SpannerDatabaseModelFactory.Create(String connectionString, DatabaseModelFactoryOptions options)
   at Microsoft.EntityFrameworkCore.Scaffolding.Internal.ReverseEngineerScaffolder.ScaffoldModel(String connectionString, DatabaseModelFactoryOptions databaseOptions, ModelReverseEngineerOptions modelOptions, ModelCodeGenerationOptions codeOptions)
   at Microsoft.EntityFrameworkCore.Design.Internal.DatabaseOperations.ScaffoldContext(String provider, String connectionString, String outputDir, String outputContextDir, String dbContextClassName, IEnumerable`1 schemas, IEnumerable`1 tables, String modelNamespace, String contextNamespace, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames, Boolean suppressOnConfiguring, Boolean noPluralize)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContextImpl(String provider, String connectionString, String outputDir, String outputDbContextDir, String dbContextClassName, IEnumerable`1 schemaFilters, IEnumerable`1 tableFilters, String modelNamespace, String contextNamespace, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames, Boolean suppressOnConfiguring, Boolean noPluarlize)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContext.<>c__DisplayClass0_0.<.ctor>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
TABLE_NAME

following is my command dotnet ef dbcontext scaffold "Data Source=projects/my-project/instances/my-instance/databases/my-database" Google.Cloud.EntityFrameworkCore.Spanner

relative version Google.Cloud.EntityFrameworkCore.Spanner version - 2.0.3 .net version - 6

then I found that the source code missing column select like following PR

PR

Created at 2 days ago