Skip to content
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

Adding declaration as repository component & changing primary key type #1559

Merged
merged 4 commits into from
Jul 20, 2024

Conversation

Ludy87
Copy link
Contributor

@Ludy87 Ludy87 commented Jul 14, 2024

Description

  • Adding the @Repository annotation: This annotation explicitly informs Spring that these interfaces are repository classes used for the data access layer.
  • Changing the primary key type in UserRepository: The primary key in the User entity and the corresponding database table has been changed from String to Long. Ensure that the corresponding entity classes and database configurations are also adjusted to support this change.

Checklist:

  • I have read the Contribution Guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings

Contributor License Agreement

By submitting this pull request, I acknowledge and agree that my contributions will be included in Stirling-PDF and that they can be relicensed in the future under the MPL 2.0 (Mozilla Public License Version 2.0) license.

(This does not change the general open-source nature of Stirling-PDF, simply moving from one license to another license)

@Ludy87 Ludy87 requested a review from Frooodle as a code owner July 14, 2024 09:02
@github-actions github-actions bot added the Java Pull requests that update Java code label Jul 14, 2024
@Frooodle Frooodle merged commit 85ed0c3 into Stirling-Tools:main Jul 20, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants