-
Notifications
You must be signed in to change notification settings - Fork 935
NH-3884 - Default DateTime type can not be overridden #702
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
NH-3884 - Default DateTime type can not be overridden #702
Conversation
977e409
to
aaed944
Compare
I don't want to merge this at this stage. There is a really high chance that these methods would be made obsolete in a possible future type refactoring. I think what we can do now is to make some of RegisterType methods public (anyway these methods do the same as your SetDefaultType does). |
The nearest is |
22f3612
to
93cc414
Compare
93cc414
to
ed202f0
Compare
ed202f0
to
38bb363
Compare
I will likely split that in many PR. |
38bb363
to
6d02db3
Compare
NH-3884 (#844) - Default DateTime type can not be overridden
Here is a proposition for allowing overriding default clr type mapping to NHibernate type.
Such a method is quite low level, and for having a coherent session factory, it must be used before configuring and building the session factory. So I have put proper warnings in its comment.
Such a method could become handy if by doing NH-3919 as proposed here, we cause issues to some users.