Hi,
I am using org.hibernate.ejb.Ejb3Configuration to create the relational schema from a ORM file. After specifying the ORM file, I execute buildEntityManagerFactory() to populate the relational schema with objects corresponding to the one's specified in the ORM file.
The method - buildEntityManagerFactory() - may take a long time to process if the number of relational objects to be created is large. My question is - during this process, is it possible to get a progress of about how many relational objects have been created and how many are left? For instance, is it possible to create some sort of a event handler that can be notified whenever the relational object is created during buildEntityManagerFactory()?
Thanks! Vijay
|