Having two model classes with many common fields, I decided to create a base class and both of them to inherit from it. The existent model classes a ...
Having two model classes with many common fields, I decided to create a base class and both of them to inherit from it. The existent model classes a ...
I need to map a class to which I have no access. My tables are auto-generated and It only generate the columns at the subclass, how can I map the s ...
I have two entities. Data_mart and entity_data. entity_data extends data_mart. I have id column in both the data_mart and entity_data. data_id in enti ...
I want to write one hbm file. My class hierarchy is now, I am writing another classsay ClassMain which will have object type of ClassA OR classB ...
I'm trying to map the following classes to the following tables using NH: Tables: Here's the hbm I tried to use for that: When I try to load ...
Here are my relevant classes: And here are relevant mapping parts: Hope it's all clear up until now. What I'm trying to do is as follows: when ...