Mao, Dean (IHG) wrote:

Hi Andrea,

I see in the hibernate-devel lists that you manage to reduce the hibernate
startup times?  I too develop with hibernate in swing based applications so
it would be really cool to have a faster startup time.  Do you know what
modifications are necessary to the hibernate source to get it working with
the Jade realtime parser?  Your post on the hibernate-devel lists were
somewhat brief and didn't provide too much information...

Thanks!!

Dean




Posted to the hibernate devel list too so that it can be useful for other people too.
It's quite simple: basically, take the hibernate sources, find the XMLHelper class and remove the "reader.setValidation(true)"
in the CreateSaxReader method . This alone gets you the most of the benefit.
Then, if you also want to try out the Jade parser, simply put the jade.jar file in your jre/lib/ext folder (in
your java installation) or follow alternative directions given in the Jade javadoc.
Then, remember to validate you mapping file twice ;-) before asking the mailing list about a problem that
may arise from the mapping file itself (right, Gavin? ;-) )
Hope this helps.
Best regards
Andrea Aime





------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to