Hi iantimothy. Thanks for your answer.
I am creating the sessionfactory object like you comment. My problem is that I want that
the sessionFactory object could be created when I start the tomcat server, because when I
create the sessionFactory when I am going to make a query on my application, it spent a
lot of time.
I see that the example web application (starter kit) creates the sessionFactory when I
start the tomcat server. That is what I want.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035876#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...