Skip to content

fix: row column indexing in SpannerClientLibraryRow#615

Merged
meltsufin merged 1 commit into
mainfrom
fix-row-column-indexing
Dec 17, 2022
Merged

fix: row column indexing in SpannerClientLibraryRow#615
meltsufin merged 1 commit into
mainfrom
fix-row-column-indexing

Conversation

@meltsufin
Copy link
Copy Markdown
Member

Fixes: #609

@meltsufin meltsufin requested a review from zhumin8 December 14, 2022 21:47
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication


@Override
public boolean isNew() {
return true;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to help Spring Data to know that this is a new object during repository.save() even though the ID is not null.

Comment thread pom.xml
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<skip.surefire.tests>${skipTests}</skip.surefire.tests>
Copy link
Copy Markdown
Member Author

@meltsufin meltsufin Dec 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is redundant and it is breaking IntelliJ. So, removing.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They also looks redundant to me, but it seems to be explicitly added by #329, not sure if reason still relevant?

Copy link
Copy Markdown
Contributor

@zhumin8 zhumin8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread pom.xml
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<skip.surefire.tests>${skipTests}</skip.surefire.tests>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They also looks redundant to me, but it seems to be explicitly added by #329, not sure if reason still relevant?

@meltsufin meltsufin merged commit faca504 into main Dec 17, 2022
@meltsufin meltsufin deleted the fix-row-column-indexing branch December 17, 2022 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Aggregate functions in cloud-spanner-spring-data-r2dbc repos throw IndexOutOfBoundsException

2 participants