(Note: I'm a hibernate neophyte, apologies if my vocabulary is off)
I'm using Hibernate to pull data from some data warehouse tables that are fed by an ETL job. While there are relationships in the data, the schema in the database does not reflect that. Is there a way for me to provide the reverse engineering configuration file with 'hints' as to the relationship between tables and what fields should be used as FK's?
These are all either one-to-one or one-to-many relationships. If this is not possible, can I do the above with the hbm.xml files for the individual tables and generate code from that using the tools?
Thanks!
|