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

Fix Oracle binary floating point setting #2402

Merged
merged 1 commit into from
May 31, 2020

Conversation

maca88
Copy link
Contributor

@maca88 maca88 commented May 26, 2020

Fix for the setting introduced by #2349. I was testing the mentioned PR with CanGetAverageOfIntegersAsDouble method, but I didn't noticed that it works even without having the setting enabled.

_useBinaryFloatingPointTypes = PropertiesHelper.GetBoolean(
Environment.OracleUseBinaryFloatingPointTypes,
settings,
false);

base.Configure(settings);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Method RegisterFloatingPointTypeMappings is called inside base.Configure, so the field must be set before calling it.

@hazzik hazzik added the t: Fix label May 26, 2020
@hazzik hazzik added this to the 5.3 milestone May 26, 2020
@fredericDelaporte fredericDelaporte merged commit da13b9f into nhibernate:master May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants