-
Notifications
You must be signed in to change notification settings - Fork 303
Spring boot upgrade issue with mysql and postgresql (fix for issue #674) #679
Conversation
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.
<?xml version="1.0" encoding="UTF-8"?> | ||
<entity-mappings version="1.0" xmlns="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"> | ||
#if ($dbType == 'mysql') |
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.
After working this through I think that mariadb should be treated the same as it is a fork of mysql with the same behavior. Is that correct or am I missing something?
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.
I have tested it with mysql, postgres, h2 and oracle. will test it with mariadb and if require I will change it accordingly
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.
Done the required changes for mariadb
Updated with the review comments for mariadb |
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.
Perfect. IMHO we have solved everything now.
<?xml version="1.0" encoding="UTF-8"?> | ||
<entity-mappings version="1.0" xmlns="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"> | ||
#if ($dbType == 'mysql' || $dbType == 'mariadb') |
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.
excellent. Thank you so much.
Basically this PR is for issue #680 , which is extentsion to issue #674
So this PR includes review suggested in PR #677 and also the issue related to postgres.
So now we can close the PR #677 without merging and considered this as final PR