Skip to content

The proposed fix for NH-3757 "Dynamic entity mapped with entity-name cannot have a component of a fixed class" #399

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

Merged
merged 2 commits into from
Mar 1, 2017

Conversation

ogvolkov
Copy link
Contributor

A fix for "Dynamic entity mapped with entity-name cannot have a component of a fixed class"
https://nhibernate.jira.com/browse/NH-3757

@ogvolkov
Copy link
Contributor Author

Hello, can we proceed with this patch, as it's been in limbo for two years? Granted it's not critical at all, but the changes are pretty minor, so what can I do to make sure it's merged?

@fredericDelaporte
Copy link
Member

fredericDelaporte commented Feb 28, 2017

In case someone tries to check what is going on with this feature on Hibernate side, here is my findings.

On Hibernate side, the feature of mixing dynamic with fixed seems to have been dropped with HHH-6330, without much explanations in their tracking tool. A redesign of the metamodel is evoked in their release notes, but that was still WIP and not detailed. At least, its commit deletes the equivalent file to the one you have modified in NHibernate.
This file was still holding the condition you want to remove. And in their GitHub repository, this file first version was already having this condition.

So I guess the rational behind this condition being there in the first place is lost. (Unless someone knows where to look for previous to GitHub history of that file in Hibernate.)

@hazzik
Copy link
Member

hazzik commented Mar 1, 2017

@hazzik
Copy link
Member

hazzik commented Mar 1, 2017

This logic follows hibernate logic from what I can see.

@hazzik hazzik removed the to review label Mar 1, 2017
@hazzik
Copy link
Member

hazzik commented Mar 1, 2017

@ogvolkov could you please squash and rebase on top of master, or enable the "Allow changes by maintainers" feature?

@hazzik hazzik added this to the 5.0.0 milestone Mar 1, 2017
@hazzik hazzik merged commit 8590368 into nhibernate:master Mar 1, 2017
@hazzik
Copy link
Member

hazzik commented Mar 1, 2017

Ok, merged. No action is required. Thanks.

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