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

ISPN-6758: JDBC DB Major/Minor Versions not exposed by the server. #4397

Closed
wants to merge 1 commit into from

Conversation

ryanemerson
Copy link
Contributor

@tristantarrant
Copy link
Member

You should add them to the parser, as well as to the subsystem test case

@tristantarrant
Copy link
Member

And don't forget CacheConfigurationAdd

@ryanemerson
Copy link
Contributor Author

@tristantarrant Done (I think).

@@ -865,6 +865,16 @@ public void inject(OutboundSocketBinding value) {
}
}

private void buildDbVersions(AbstractJdbcStoreConfigurationBuilder builder, OperationContext context, ModelNode store) throws OperationFailedException {
ModelNode dbMajorVersion = BaseJDBCStoreConfigurationResource.DB_MAJOR_VERSION.resolveModelAttribute(context, store);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the advantage of using resolveModelAttribute over getting the value directly (store.get.. kind of operations)?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It resolves expressions

@ryanemerson ryanemerson changed the title ISPN-6578: JDBC DB Major/Minor Versions not exposed by the server. ISPN-6758: JDBC DB Major/Minor Versions not exposed by the server. Jun 13, 2016
@tristantarrant
Copy link
Member

Pushed to master, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants