-->
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.  [ 4 posts ] 
Author Message
 Post subject: Long time mapping during deployment!!!
PostPosted: Tue Mar 28, 2006 6:03 pm 
Newbie

Joined: Wed Oct 19, 2005 8:04 am
Posts: 19
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

[b]Hibernate version: 3.0[/b]

I have Jboss 4.0 and i have such a problem that if i deploy application that use hibernate it takes sooo long time...
Mapping classes and resources takes forever:

[org.hibernate.cfg.Configuration] Mapping resource: bla...
[org.hibernate.cfg.HbmBinder] Mapping class: bla...

And i had no any problems before, but couple weeks ago i started having this problem. I think that this is Jboss or Hibernate problem, cuz i have been working on buisness logic for last two weeks and wasn't touching any hibernate mappings and configs and had no this problem before...
What could be the problem?
I would really appretiate any help!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 29, 2006 5:41 am 
Newbie

Joined: Wed Oct 19, 2005 8:04 am
Posts: 19
I have tried this:

http://72.14.203.104/search?q=cache:DJf ... =clnk&cd=5

But that doesn't help, but i have the same problem. Does anybody knows what could it be?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 29, 2006 6:15 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
how many classes are we talking about ? 30 should definitly not take minutes.

(and you are of course not using hibernate2 dtd's with hibernate3 by any chacne?)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: nice work!
PostPosted: Wed Mar 29, 2006 8:51 am 
Newbie

Joined: Wed Oct 19, 2005 8:04 am
Posts: 19
Thnx a lot, that was exactly the problem. I dont know why but middlegen putted dtd 2.0 into headers of hbm.xml files....
Big thnx!


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

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.