Skip to content

Conversation

@fredericDelaporte
Copy link
Member

The NHibernate Firebird driver does hack SQL commands for explicitly casting their parameters. This may cause issues in some cases, while, depending on the application, it may not be required. See #1886.

</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="firebird.disable_parameter_casting">
Copy link
Member Author

Choose a reason for hiding this comment

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

For such database/driver specific parameters, like oracle.use_n_prefixed_types_for_unicode or odbc.explicit_datetime_scale, I wonder if we should put in place a "catch them all" solution, similar to what is done for cache.* parameters. Something like database_specific.*.
But then, they will be less discoverable.

Copy link
Member

Choose a reason for hiding this comment

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

Unlike the cache, this is driving from inside the library, so should be fine as it is.

hazzik
hazzik previously approved these changes Oct 29, 2018
@fredericDelaporte fredericDelaporte added this to the 5.2 milestone Oct 29, 2018
The NHibernate Firebird driver does hack SQL commands for explicitly
casting their parameters. This may cause issues in some cases, while,
depending on the application, it may not be required. See nhibernate#1886.
@fredericDelaporte fredericDelaporte force-pushed the firebirdDriverConfigSqlHack branch from 16fabdf to b238c3b Compare October 30, 2018 11:41
@fredericDelaporte fredericDelaporte merged commit 33c1555 into nhibernate:master Oct 30, 2018
@fredericDelaporte fredericDelaporte deleted the firebirdDriverConfigSqlHack branch October 30, 2018 11:42
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.

2 participants