Forums Register Login

Hibernate Newbie !!!!

+Pie Number of slices to send: Send
Hi ! Can somebody tell what is the quickest way to learn Hibernate. I have worked with J2EE for abt 1 year now,,, and want to learn hibernate ,, pls let me know the resources to learn hibernate .


Thanks in advance

Mahen
+Pie Number of slices to send: Send
Read the documentation and explore some of the demo apps. Its also a good idea to make sure you understand why you might need to use an ORM. The first few chapters of Hibernate In Action are summary of this.
+Pie Number of slices to send: Send
Thanks paul
+Pie Number of slices to send: Send
Can I suggest that the fastest way to get started with Hibernate is to generate the Hibernate persistence classes/mappings (rather than manually write it)?


FireStorm/DAO can now also generate native persistence code for Hibernate, with the option of using the DAO design pattern.

When generating Hibernate code (without DAOs), FireStorm/DAO produces Hibernate persistent classses and a Hibernate mapping file (*.hbm.xml) for each database table.

You can read more here:

http://www.codefutures.com/hibernate

and you can download here:

http://www.codefutures.com/products/firestorm/download/
+Pie Number of slices to send: Send
 

Originally posted by s mahen perera:
Hi ! Can somebody tell what is the quickest way to learn Hibernate. I have worked with J2EE for abt 1 year now,,, and want to learn hibernate ,, pls let me know the resources to learn hibernate .
Mahen


I had written an article to quickly get started on Hibernate for java.net. If interested, email me and I will send you the pdf file of this article.
+Pie Number of slices to send: Send
Hai Satish,

i am a Java Developer,started learning Hibernate.As i am a newbie to Hibernate,i think your article would help me.can you send me your article which is in the PDF format to jibin999@gmail.com .Also can you suggest me the best book to start learning Hibernate.

Thanx in Advance.
+Pie Number of slices to send: Send
 

Originally posted by Satish Talim:

I had written an article to quickly get started on Hibernate for java.net. If interested, email me and I will send you the pdf file of this article.



Why not just post a link to it, if it is on java.net
+Pie Number of slices to send: Send
 

Originally posted by PJ Murray:
Can I suggest that the fastest way to get started with Hibernate is to generate the Hibernate persistence classes/mappings (rather than manually write it)?





Isn't that like telling someone the best way to learn Java is to use an IDE that generates a bunch of code for you? Manually writing all your mapping files is the only way you are truly going to understand what the heck you are doing, IMO. Once you know how to write them, that is when you will have no need to write them and can generate them via tools like XDoclet.
+Pie Number of slices to send: Send
Hi Satish,

Thanx for u r mail.i am just going the link that u mailed me.
+Pie Number of slices to send: Send
 

Originally posted by Gregg Bolinger:




Isn't that like telling someone the best way to learn Java is to use an IDE that generates a bunch of code for you? Manually writing all your mapping files is the only way you are truly going to understand what the heck you are doing, IMO.




Sorry - maybe I was not clear. If you've no idea how to write Hibernate persistent classes and Hibernate mapping files then you could find out what the code should look like using a code generator. It can be quite an useful learning tool - change the database, regenerate the code, look at the knock on effects, etc

Of course it's always better to understand the underlying principles - and in fact it's still useful even if you always want to use a code generator (so you know how to customize).
There is no "i" in denial. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 810 times.
Similar Threads
Which framework to learn
Spring Hibernate
want to lean hibernate
Hibernate Books
Would it be better to wait for EJB 2.1 spec test?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:52:00.