-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Deprecate Derby support #48590
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
base: main
Are you sure you want to change the base?
Deprecate Derby support #48590
Conversation
Deprecate Derby support since Apache Derby is retired. Closes spring-projectsgh-48567 Signed-off-by: Philippe Marschall <[email protected]>
snicoll
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, I've made a few comments for your consideration
| * Apache Derby. | ||
| * @deprecated Derby is retired, use HSQLDB or H2 | ||
| */ | ||
| @Deprecated(forRemoval = true, since = "4.1") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be 4.1.0
|
|
||
| /** | ||
| * Apache Derby. | ||
| * @deprecated Derby is retired, use HSQLDB or H2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please look at the other deprecation in the codebase, we use a standard format for this.
| } | ||
|
|
||
| @Test | ||
| @SuppressWarnings("removal") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should flag the test as deprecated instead;
Deprecate Derby support since Apache Derby is retired.
Closes gh-48567
I did no log any warnings when Derby support is used. I'm not aware of such a thing being done anywhere today, let me know if I should add it.
I marked only main code for removal, no tests. I had to add
@SuppressWarningsto main and test code using deprecated Derby code for the build to work.I believe this should go to the 4.1 changelog. I did find a changelog checked in. Are these manually maintained?