I have a legacy application which has about 70 XDoclet beans and a few hundred Hibernate Annotation beans.
I need to convert these XDoclet beans to Hibernate Annotation beans. I would like to use an automated system to do this. However the beans are all mixed together and some XDoclet beans are referencing Hibernate Annotation beans in relationships.
I have tried running the Hibernate Code Generation tool on the XDoclet beans but keep getting errors like the following:
org.hibernate.MappingException: Association references unmapped class: net.i.ThirdPartyRelation
Association references unmapped class: net.i.ThirdPartyRelation
I was hoping that I could use Hibernate Reverse Engineer tool to do this but I am not sure if it is possible.
Does anyone have a suggestion on how this could be done?