Skip to content

Add integration tests #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Add integration tests #90

merged 1 commit into from
Mar 21, 2024

Conversation

SnRise
Copy link
Contributor

@SnRise SnRise commented Mar 20, 2024

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: #81

What is the new behavior?

  • Add integration tests

Other information

@Query("select count(distinct text_column) from all_types_table")
long countDistinctTextColumn();

@Query("select * from all_types_table where date_column > CurrentUtcDate()")
Copy link
Collaborator

Choose a reason for hiding this comment

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

flap test?


@Bean
BeforeConvertCallback<Author> beforeAuthorConvertCallback() {
return (author) -> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe set id by yourself

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Framework recognizes new entities if the ID is not set. If the value does not match the initial value, the framework uses an update request, so it cannot be set manually

@KirillKurdyukov KirillKurdyukov merged commit 8a87413 into ydb-platform:main Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dev: [Spring Data JDBC] Integration tests
3 participants