Re: [Hibernate] Startup time

2004-04-28 Thread Ashish Kulkarni
How about using the jakarta commons-digester? I believe it uses SAX, and it makes your code a LOT more readable :-) (ps. can someone modify the list settings so that the reply goes to the list? that'd help a lot ...) Gavin King wrote: > That would result in a LOT of really ugly code. > > Ar

RE: [Hibernate] Startup time

2004-04-28 Thread Joshua Davis
At best, a LOT of code. Ugliness can be left up to the developer. ;) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gavin King > Sent: Wednesday, April 28, 2004 10:22 PM > To: Ara Abrahamian > Cc: 'hibernate-devel' > Subject: Re: [Hibernate] S

Re: [Hibernate] Startup time

2004-04-28 Thread Gavin King
That would result in a LOT of really ugly code. Ara Abrahamian wrote: Perhaps someone could migrate the xml loading stuff to use SAX instead of dom4j? Dom4j creates lots of objects. In my backup/restore code I saw a 10 times better performance by just using SAX instead of dom4j. Ara. -

RE: [Hibernate] Startup time

2004-04-28 Thread Marek Mosiewicz
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gavin King Sent: Wednesday, April 28, 2004 2:25 AM To: Henri Tremblay Cc: 'hibernate-devel' Subject: Re: [Hibernate] Startup time Gavin King wrote: >>2- Lazy load the conf. I mean, don't load every file a

RE: [Hibernate] Startup time

2004-04-28 Thread Lendvai Attila
:: The CGLIB stuff will probably be hard to work around since :: those objects :: are not (and probably can't be made) serializable - :: but we can remove the XML parsing if we can serialize the :: SessionFactory...but it will probably require us to keep more state :: around than we did previou

Re: [Hibernate] Startup time

2004-04-28 Thread Prünte Kai
Hi, like other I also has problems with the start up time. After a short analysis I saw that Xalan for XMLDatabinder takes a lot of time. Special for small projects (less mapping files) the part of XMLDatabinder is very high. Could it be usefull to make XMLDatabinder optional? Kai -