Forums Register Login

New to Hibernate

+Pie Number of slices to send: Send
Hi there

Our team is working on a web-app, and it's our first time. We have agreed on using hibernate mapping framework at the back-end along with DB2.

We want a quick killer guide to hibernate, if there is any. We can't throw our time at reading the entire documentation, or books like "Java persistence with Hibernate", since deadline is closing in. But missing on essential points can be potentially critical. We are done with our first hibernate mapping code, but after that it seems as if it is an entire ocean to assimilate.

Can you please guide us. Is reading the entire book a necessity for using hibernate? Or is there an another way.
+Pie Number of slices to send: Send
The docs are fairly brief, I'd read them. Trying to work with a technology without at least reading the basics in the docs always causes more effort than it saves. You should be able to skim through the docs and know up a basic hello world style application ins a couple of hours. I'd recommend going for a stand alone app. to learn with before looking at a web application (just because there is less going on).

If this is going to end up as production code, and if you have never used an ORM before, I would recommend a book. Basic Hibernate is fairly easy, but deploying your application without tuning how you use Hibernate, or understanding the implications of doing something one way as opposed to another means your code may well work but in a really inefficient way.
+Pie Number of slices to send: Send
I'm with Paul on this. The best way to meet that deadline is to get the "Java persistence with Hibernate" book and spending a day or two (plus evenings) reading it and playing with Hibernate in a small non-web/non-gui application. The day or two spent actually learning Hibernate will more than make up for itself as you continue your actual development. You have to know how to use the tool in order to use the tool. Use Hibernate right and persistence is easy, use it wrong you will pay for it.
There is no greater crime than stealing somebody's best friend. I miss you tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 698 times.
Similar Threads
Websphere and XML
Study Guide Clarification..
JPA and a parent children relationship in a tree data structure
Query on MiddleGen ..hbm2java task
Can I use hibernate to do complicate table relationship
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:30:24.