When mapping by code (conformist in my case) and using the EntityName("someString") mapping, the different ClassMappings seem to get merged under the same mapping anyways, denying thus the functionality of entity-name and causing queries with entity-name to crash.
Hope I'm interpreting this correctly as a bug!
Will attach a test case shortly.
Fredy Treboux added a comment — :
This is a test showing the described problem with entity-name in two different ways.
Please let me know if there's any problem with the test as this is my first submission.
Alexander Zaytsev added a comment — :
I can confirm that this is a bug, I was trying to implement the NH-2218, but mapping by code did not work
Fredy Treboux created an issue — :