Hi,
I'm hoping to use hibernate .hbm files for out situation where we need to be able to add tables at runtime. I looked into dynamically generating the source for the corresponding domain objects and compiling them but it seemed too awkward.
So, I'm wondering if its possible to map tables to a common generic object? Something like an object containing a java.util.Map which can hold the values from our extra tables as name value pairs. Is this achievable?
apologies if this has been asked before, I did search first but didn't see anything relevant.
Thanks,
Brad.
|