Im working with Hibernate 3.6 and until today I couldnt find any disadvantages of using it. But today someone told me that applications using Hibernate will get memory problems when the project gets bigger. This would happen because there would be a lot of objects (hibernate-pojo-objects) which will need to be created and stored, compared to a application which doesnt use hibernate.
is that correct? and are there any more disadvantages of using hibernate? some also told me that working with the objects becomes confusing when the database is really big because of all the dependencies between the objects, but I cant really imagine it. has anybody some experiences with this?
thanks :-)
Depending on the number of selected Order entities, Hibernate might need to execute a huge number of queries that significantly slow down your application. This issue is easy to find. Hibernate's session statistics and Retrace provide you with the number of queries that were executed within a given session.
Hibernate is a great fit for complex projects with high-performance requirements. You only need to know which features to use and which you should better avoid. During this talk, I will show you how to get the most out of your Hibernate-based persistence layer.
Hibernate– Hibernation is a good option when you know you won't use your laptop for an extended period of time and you are unsure of when you'll have the chance to charge it again. This is also a good option for desktop users concerned about power consumption as it doesn't use as much as sleep mode.
Some of them are :
Some other people also think that there are disadvantages for Hibernate.
Whenever you add a layer of abstract it has to do extra work and use extra memory to do it. If it uses extra memory, you may need to increase your maximum heap size or buy extra memory which is usually cheap compared to the cost of developer even if those controlling the budgets don't see it that way. This may still cost you less than the development time it save you. Only you can decide if this is worth it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With