#3. Hibernate Java Based Configuration with Maven + Eclipse + MySQL

preview_player
Показать описание


#hibernate #java #javaguides

Рекомендации по теме
Комментарии
Автор

Thx a lot! Reading hibernate book and was struggling with config

orgoon
Автор

#2 video link is missing. Could you please share the link

manikannanmarimuthu
Автор

You mentioned a previous video, presumably #2. But it's not in your Hibernate 5 Tutorial list. Where is it?

Trouble
Автор

Thanks sir, it really help just a lot.

sjamdhade
Автор

#2 video not there, can you add the 2nd video

venkatramanab
Автор

#2 Video is missing, i'm not understanding #3 video

nidhiprakashnaidu
Автор

can we use the table name as a Student?( first letter in UpperCase)

parmanandsaraswat
Автор

2nd video is hidden can u make the 2nd video as public 👍

satyajitmaji
Автор

I thought you will explain java based config but you just copy pasted that. In this java based config tut you should be explaining that thing and all other things can be copy pasted. Not happy.

pankajbugad
Автор

Not perfect. Nothing is working.
I must from birth understand what HBM2DDL_AUTO doing?? You didn't explain it.
Why name of my table become hibernate_sequence?? Where do I can change this?
Your tutorials are useless, you waste my time, thank you.

alexop
Автор

It is very frustrating to have a tutorial not work. Fortunately, I was able to get past a few of the implicit missing directions.
First, the MySQL database has to be installed and running.
Second, the username and password in hibernate.cfg.xml or it's Java equivalent (that sets the passwords) needs to be updated.
Third, the hibernate_db "database" needs to be created in the My SQL "database" (why these people overload the database term is beyond me; an explanation would be nice).
Fourth, the Student class must be in the package, not the package. (Why? I don't know; some configuration somewhere which is not explained).
Fifth, the student table needs to be created in the hibernate_db; something like:
CREATE TABLE student (
id int NOT NULL AUTO_INCREMENT,
firstname char(20) NOT NULL,
lastname char(20) NULL,
email char(20) NULL,
PRIMARY KEY (id)
);
Then, after all that, it still fails with Error 301 --Moved Permanently.
How can a database url like move?

Trouble
welcome to shbcf.ru