Java Hibernate Tutorial Part 5 - Create table from Class

preview_player
Показать описание
Easy to follow Hibernate Tutorial using Java JPA Annotations.
Step by Step Instructions.
Sample Programs.
Рекомендации по теме
Комментарии
Автор

Thank you so much for showing us all that we don't need a ton of specialized development tools to effectively use Hibernate! Your clear and detailed tutorial defies a great deal of misinformation I previously encountered.

clarkwilliams
Автор

Thank you Patrick for the upload.Your tutorials make it simple and crystal clear to the newbie a well as any one who wants a refresher.

God has blessed you with great teaching skills.

AnilaKeeru
Автор

table created lik i am thkin u very best and unique tutorial ....again tnk u very

ShankarMurugesan
Автор

tnx a lot patric,
you have made learning Hibernate as much simple as of eating a piece of cake :)


shantanuprakashnke
Автор

You are fantastic my friend. Well done, well done.

Fabs
Автор

Fantastic. Thank you very much for these videos. Very well presented, very clear. Thank you.

Lemmings
Автор

very very good thank its really helpful ...thumbsup

HariomNautiyal
Автор

you're awesome man. best teacher ever!

xFranciscoAMV
Автор

Yes. It is. You can use instead of annotation configuration.

TheSynergism
Автор

Awesome... Thanks From INDIA May you Live Long :-)

SahilRallySuperStar
Автор

Excellent tutorial. AnnotationConfiguration is deprecated in later versions of hibernate

saqibansari
Автор

Thank you very much! You have done a nice job!

Дмитрий-сфу
Автор

everything is going on well till u ran the TestEmployee class.the out put on the console was the same except i did not get the User folder in the schema...can u expalin y?

sajeeshkrishna
Автор

I'm using MySQL and Hibernate 4.1.5. For the longest time I'd been having problems with a

"Exception in thread "main" resource: not found"

exception. I'm using inline annotations, instead of creating an external configuration file. The solutions to my problem: remove any references to annotated classes in your Hibernate config file. In my case, I removed the line

mapping

and now it works fine.

noli-timere-crede-tantum
Автор

this helped me sooo much, thanks a lot

JonathanWiesel
Автор

Hi sir, it was really a good tutorial, i come across the tutorial and i follow every step.
When i execute this program, i didn't get the user schema and so the table.. Help me with this.

Bkpmys
Автор

check your user library also see if you have given the correct url for mapping in the cfg file all d best

himanshudgp
Автор

If you get an Exception like this:
"java.lang.NoSuchMethodError: "
In helios, then make sure the jars log4j and slf4j-log4j are the latest jars version.
in my case i used the following to solve the problem:
log4j-1.2.15.jar and
slf4j-log4j12-1.5.8.jar
It works fine now!!!! :)

abouaruben
Автор

Thanks a lot sameo022.. I got the user schema :)

Bkpmys
Автор

Hmm, I want to ask a question. How can I check a table is existing or not before create it? It's always create table in your example.
Thanks!

huynhngokim