I am having this problem when running hbm2java from a PostgreSQL 9.2 DB.
Code:
[hibernatetool] An exception occurred while running exporter #2:hbm2java (Generates a set of .java files)
[hibernatetool] To get the full stack trace run ant with -verbose
[hibernatetool] org.hibernate.cfg.JDBCBinderException: Foreign key name (is_a) mapped to different tables! previous: org.hibernate.mapping.Table(public.as_azn_tnd_tml) current:org.hibernate.mapping.Table(public.as_gge_tnk_lv)
I looked and found some posts and blogs about this issue but no solution. I would like to know if there is something I can do about it at hibernate level or if I need to change the schema. I am implementing a custom exporter based on DelegatingReverseEngineeringStrategy so if there is a solution I can perform there, that would be acceptable for me.
Thanks in advance!
Regards,
Manuel.