Yes, its possible.
But why would you have two tables with similar design?
Joined: Oct 23, 2008
requirement like this one for insert and other for retrieved
can you tell me the code? please?
Joined: Jun 16, 2007
I pictured you were referring that the two tables: A & B, had similar structure. So you plan to map them in two HBM files.
Then you would be writing just one core mapping class where you would have to declare the variables mapped in the .hbm files along with setter/getter.
Doesn't that mean you would be writing two similar HBM files with same variable names, as the same would be declared in the core class :!:
So what code would you need :?: