Skip to content

HHH-16578 - Add test and fix for issue #6548

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 3 commits into from
Jun 5, 2023

Conversation

jrenaat
Copy link
Member

@jrenaat jrenaat commented May 10, 2023

No description provided.

@cigaly
Copy link
Contributor

cigaly commented May 11, 2023

This is not a bug. Property level is 32 bit integer (java.lang.Integer or primitive int), but corresponding column is tinyint which can accept only 8 bit numbers (see MySQL documentation). After changing type of property level from int to byte validation will pass without problems.

@jrenaat jrenaat force-pushed the HHH-16578_mysqlcolumnvalidationerror branch from a872f04 to f327753 Compare May 16, 2023 21:37
@jrenaat jrenaat changed the title HHH-16578 - Add test for issue HHH-16578 - Add test and fix for issue May 16, 2023
@jrenaat jrenaat force-pushed the HHH-16578_mysqlcolumnvalidationerror branch from f327753 to 1e742d3 Compare May 17, 2023 11:58
@jrenaat jrenaat requested a review from beikov May 17, 2023 14:19
@jrenaat jrenaat force-pushed the HHH-16578_mysqlcolumnvalidationerror branch from 1e742d3 to 0bb3b48 Compare May 17, 2023 14:55
jrenaat added 2 commits May 18, 2023 18:06
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
…ion (less dependant on columnDefinition info, and more on the use of @JdbcTypeCode)

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
@jrenaat jrenaat force-pushed the HHH-16578_mysqlcolumnvalidationerror branch from 0bb3b48 to 31ff2cc Compare May 18, 2023 16:06
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
@hibernate-github-bot
Copy link

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern HHH-\d+
    ↳ Offending commits: [156205c]

› This message was automatically generated.

@beikov beikov merged commit eedd619 into hibernate:main Jun 5, 2023
@jrenaat jrenaat deleted the HHH-16578_mysqlcolumnvalidationerror branch June 6, 2023 12:12
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