Sometimes it does, when you find you've got to go around evicting objects from sessions or wizardry like that to preserve uniqueness. And you'll have spent an hour or two trying to figure out what is happening before you get to that state.Originally posted by prashant Kakani:
Also, I really do not figure out what is the Advantage of using Hibernate.. Don't you guys think it complicates the code..
And a new programmer does not scratch his head when first confronted with JDBC code? In many places these days, knowledge of O/R mapping is as much a natural prerequisite for senior staff as knowledge of JDBC.[...] which eventually makes maintainence difficult; (a new programmer would scratch his head, when he looks at the code for the first time)
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd
Don't think that I don't understand your problem. I do. Your problem is the sheer number of new tools and concepts you're confronted with at once. They are glued together in lots of little bits and are configured and plugged together by lots of little (and not so little) XML files. A million different ingredients go into the handling of a single HTTP requests, and it is hard to keep track of what goes where and which of them does what.
Yes, absolutely true. It goes without saying that this is true for any sophisticated tool or technology - threading, Java Server Faces, EJBs and the rest of the J2EE platform, any other O/R mapping too, RDBMSs...Originally posted by Sanz Vai:
[...] it will be dangerous to start using tools like Hibernate in commerical product without knowing the full architecture.
The sheer critical mass that Hibernate has gathered? I would not at all be surprised if it turned out to be the single most popular O/R mapping tool in the Java space. Just look at the number of Hibernate and Hibernate-related books around.Secondly, you used it, liked it, but how would you convince your boss or the standards committee that it is a "mature" engouh product?
You don't get any such guarantee, for any product, anywhere. Hibernate's widespread use does inspire confidence that the worst bugs have been hammered out. And at least you do get the guarantee that, if a bug breaks the app in the middle of some critical job and all else fails, you can have a go at fixing the bug yourself! No commercial tool can match that.Where is the guarantee that it doesn't have some bug that will break the app in the middle of some critical job?
It doesn't implement any Sun standard, so there's nothing for Sun to certify. The "certification", if you will, is Sun's invitation of Hibernate guru Gavin King to join the JDO 2.0 expert group (this turned out not to be the best of collaborations, but that doesn't invalidate the point), and the fact that the tool has heavily impacted the current EJB 3 and JDO 2.0 efforts. Sun only just fell short of doing dropping JDO 2.0 altogether, removing entity beans from EJB 3, and making Hibernate itself part of J2EEWho certifies the product? Has Sun approved it or certified it?
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd
It's exactly the same and completely different as this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|