Hi All,
I'm currently working on a company where the use a proprietary O/R mapping tool with very limited functionality (no relationship management, no cache, no query language and more). I have been asked to design a new system and for reasons that it would be too long to explain I cannot explain I am stuck with this tool. What I would like to do is to somehow create an adapter between Hibernate and the company O/R library so that I can use Hibernate on top of it and exploit some of the hibernate features and then slowly get rid of it. The tool works with some pre-generated POJO that map one-to-one with tables and it uses stored procedures to operate on the RDBMS. Before I start digging into the Hibernate code I wanted to pick your brains about this idea. Is there a clean (or not to messy) way of doing this or it's just me being ignorant about the Hibernate architecture?
Thanks
_________________ Alessandro Di Bella
Morality is judged by intention, that is, subjective intention.
Miyamoto Musashi
|