Hibernate Tutorial #7 - Setup Hibernate in Eclipse

preview_player
Показать описание
FULL COURSE: Spring MVC and Hibernate (200+ videos)

----

This Hibernate tutorial series will help you quickly get up to speed with Hibernate.

----

DOWNLOAD SOURCE CODE for Hibernate tutorial.

----

----

Follow luv2code for more Hibernate tutorials:

---

If you liked my Hibernate tutorial, then join my mailing list: Get exclusive access to new Java tutorials.

---

Questions or problems about this Hibernate tutorial? Post them in the comments section below.

---

Want to suggest a video for my Hibernate tutorial? Leave a comment below. I'm always looking for new video ideas.

Let me know what video you'd like for me to create for this Hibernate tutorial.

---

Hibernate Tutorial Transcript

Hey, in this video I'm going to show you how to setup Hibernate in Eclipse.

I love to do lists, so the first thing we're going to do is create an Eclipse Project. Then I'll show you how to download the Hibernate Files. Next we'll download the MySQL JDBC Driver. Then we'll pull it all together by adding these JAR files to the Eclipse Project and in particular we're going to add it to the Eclipse Projects Build Path. Now it's always really important to get your projects set up properly, so I'll go through all the steps required to get this working in Eclipse. We have a lot of good stuff in store, let's go ahead and dive in.

All right, so let's go ahead and move into Eclipse. The first thing I'm going to do is actually change my perspective. Currently right now, I'm using the Java EE perspective and I want to change it. I'll simply go to Window, Perspective, Open Perspective, and choose Java. You may not have to do this but I'm always in the Java EE perspective and I like to change over to just the normal Java perspective. Then I'll close off some of these windows here on the far right.

Now the first thing I want to do here is create a new project. I go to File, New, Java Project, and the project name I'll give here, I'll call it hibernate-tutorial. Just keep it simple, short and sweet. Once you're happy with that go ahead and click the finish button.

Okay, great. Now we have a very basic project, nothings there. We need to go ahead and do some housekeeping work here. The first thing I want to do is create a new folder. I'll simply right-click on my project, I'll say New, Folder. In this folder the name I'll give is lib, L-I-B, then I'll go ahead and hit finish. This is just an empty folder right now, we're going to add our Hibernate JAR Files and also our JDBC JAR Files to this folder, but right now we just set up some stuff.

[snip] For complete transcript, select More - Transcript

This is the end of the Hibernate tutorial transcript.
Рекомендации по теме
Комментарии
Автор

just found somebody who can actually make proper tutorial, good job man

webdevelopment
Автор

You explain all the topics very well. After watching your hibernate tutorial video my fear of learning it gone away. Thank you 😊

tasteanotherbite
Автор

Sir, you are explaining every video very clearly, please upload complete Hibernate tutorial, thanx for uploading

rajak
Автор

thnx for uploading this video. You describe all the topics very clearly and nicely.
Again many many thnx for your contribution.

mahydulislam
Автор

Well done video. Step by Step... nicely done!

billnewsr.
Автор

ooo finaly, thanks and respect from Belarus

dimarusak
Автор

thanq bro after 2 hrs of searching i found this the most useful, , , ...

AjaxSajax
Автор

Realy make my day. Thanks a lot. I have tryed it bevor with JBOSS Tools but Eclipse crashed down. No way to restart it. With your instruction i got it.

mikescelo
Автор

Very good tutorial bro, but wouldn't be easier to use maven? Thanks a lot for very useful videos

dawidkorzepa
Автор

I just find this tutorial and it is great! Is really helpful! thank you so much!

zael
Автор

for every new project, will we have to add the jar files, , , or 1 time is it sufficient??

AjaxSajax
Автор

why dont you using maven for adding hibernate and mysql connector? i think using maven more easy hehehe, just suggestion.

hendrahenz
Автор

Would it work as well if I connect it with SQL Server? with the mssql-jdbc connector?

ByChris
Автор

you really are a very good teacher sir! thanks :)

luffy
Автор

Valeu, Obrigado, vc me ajudou bastante!!!!

SANDROARANHA
Автор

owo what an explanation you are Super Hero

maheshbudhathoki
Автор

At least some one with a great english accent :)

celioribeiro