All,
I recently migrated several applications from hibernate-xdoclet to annotations and have been trying to migrate our largest app with about 250 domain objects, but have run into an unusual problem. The annotation binding is taking an extremely long time and seems to be repeating the same elements over and over again upon startup.
Below you can see that it is repeating again. I just let it run over 15 minutes hoping that it would come to some resolution and didn't see any change. It does seem to be traversing the objects alphabetically.
I am hoping that I have something misconfigured, but I am using the same set up I used for the other applications and am not having problems.
Code:
INFO: Bind entity com.pdxinc.eps.dto.WorkflowToken on table WORKFLOW_TOKEN
Feb 25, 2009 5:40:11 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: com.pdxinc.eps.dto.WorkflowTransition
Feb 25, 2009 5:40:11 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.pdxinc.eps.dto.WorkflowTransition on table WORKFLOW_TRANSITION
Feb 25, 2009 5:40:11 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: com.pdxinc.eps.dto.AcsHistory
Feb 25, 2009 5:40:11 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.pdxinc.eps.dto.AcsHistory on table ACS_HISTORY
Feb 25, 2009 5:40:11 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: com.pdxinc.eps.dto.ActiveChange
Feb 25, 2009 5:40:11 PM org.hibernate.cfg.annotations.EntityBinder bindTable
Thanks,
Steve