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

Exposed BaseDatabaseType's int, float and double type string appenders to protected #157

Merged
merged 1 commit into from
Dec 6, 2018

Conversation

Bo98
Copy link
Collaborator

@Bo98 Bo98 commented Dec 6, 2018

There's not too much reason for these to be the only ones that are private. While the need to override these methods will not be common, it does allow for the likes of example 1 in #20 (comment) to be possible.

@j256 j256 merged commit 95e33b7 into j256:master Dec 6, 2018
@j256
Copy link
Owner

j256 commented Dec 6, 2018

Looks good. Thanks much.

@Bo98 Bo98 deleted the protected-type-string-appenders branch December 6, 2018 13:44
@noordawod
Copy link
Collaborator

I have a feeling this may bite us in the butt later on... Are we sure these strings are the same across all supported databases?

@Bo98
Copy link
Collaborator Author

Bo98 commented Dec 7, 2018

Well it's SQL standard. But even if they were different then it was impossible to override before and now it is possible. I'm not quite sure what the issue is you're describing.

@noordawod
Copy link
Collaborator

Okay, I must have woken up on the wrong side :) I actually read it backwards -- that the implementation was protected and now it's private. My bad! Very good change.

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.

3 participants