-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Progress during Ejb3Configuration.buildEntityManagerFactory
PostPosted: Mon May 11, 2009 9:16 pm 
Newbie

Joined: Mon May 11, 2009 8:04 pm
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.