Thanks! I will follow up this in the other posting that you mentioned.
Note: it is NOT generating the schema, etc... the loading that it happening is legitimate.
We were able to trim down our Hiberante-mapped data model size to around 500 tables (the other section of the data model is not necessary for our project yet).
I have been able to concentrate on total loading time, etc.. I am using Hiberante behind Spring, with lots of Spring AOP poxies etc. Most of the time was being spent generating the CGLIB proxies for Spring AOP, not for Hiberante.
That being said, it still takes Hibernate around 30s to load 500 tables if I 'run' the app, and it takes around 60s to load if I 'debug' the app. So, the development cycle is very slow since I am always debugging, which takes over 1 minute to start.
|