-
Notifications
You must be signed in to change notification settings - Fork 96
912 : SchemaMigrator/SchemaValidator support for MS SQL Server #967
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
Conversation
Remove SqlServerReactiveInformationExtractorImpl#getDatabaseSchemaColumnName
28e69da
to
49151ec
Compare
I pushed a minor update, and force-pushed to resolve conflict. |
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.
Pulled latest and tests pass locally. LGTM
This PR doesn't fail if I test it using ORM 5.6.0.Beta2. Is that correct? |
@DavideD, it will still fail with ORM 5.6.Beta2. It requires hibernate/hibernate-orm#4235, which has not been merged yet. |
Is it supposed to fail for MSSQL and Db2? |
I've rebased this branch to the latest changes and sent a new PR that uses the grad.properties in master: #970 |
I've answered myself, the test is only for MSSQL |
|
||
@Test | ||
public void testValidationSucceed(TestContext context) { | ||
Configuration createHbm2ddlConf = constructConfiguration( "validate" ); |
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 guess this should be called validateHbm2ddlConf
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 would prefer the generic configuration
, as used in the other tests.
WDYT?
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 find validateHbm2ddlConf
clearer but configuration
works as well.
I'm happy as long as it is not createHbm2ddlConf
:-)
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 prefer more generic names when it's unambiguous, to avoid future copy/paste errors.
Anyhow, I've fixed it in #970
// actually checks). | ||
@Test | ||
public void testValidationFails(TestContext context) { | ||
Configuration createHbm2ddlConf = constructConfiguration( "validate" ); |
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 guess this should be called validateHbm2ddlConf
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 would prefer the generic configuration
, as used in the other tests.
WDYT?
#912
Includes #966
Requires ORM PR: hibernate/hibernate-orm#4235