Hibernate Tutorial Part 4 (a) - How to create the first Hibernate Application in Eclipse ( Hands on)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Thanks for showing, but would it not be more helpful for users if you show the steps of creating the cfg.xml and hbm.xml files instead of adding a file that somehow was created previously as user would not know how to create them in the first place.

MrNiceseb
Автор

For those who didn't find hibernate.cfg.xml. Make a search in the project folder of hibernate downloads. You will find many, select any one, which has good amount of configurations written in it.

saphegde
Автор

Hi,
I found the hibernate.cfg file in the projects/etc folder, and of course that is a bare bones file. How do I know what the library is for the database file, that is the sql driver, I have downloaded the sql driver, but I dont know where you got the description as com.mysql.jdbc.Driver. And also the other values, can you please explain about how you find out what to put for all the values.

shashgo
Автор

hi, I am using derby data base.Can u help me with, how to find data base connection settings for derby

vishnuvardhanreddy
Автор

Hi, I created the application as u explained but got an exception and resolved it by specifying configuration file name in configure. Want to know why hibernate.cfg.xml is not configured by default.I have conf file in src folder outside of all packages.
SessionFactory sessionFact = new
Thanks for the help.

nishthaagarwal
Автор

ankush, is the hibernate.config.xml file going to be the same for every project that uses MySQL?

shashgo
Автор

excellent work sir, any one can learn easy from this, Thanks sir

raujhkumar
Автор

Realy nice work, greeetings from Germany your toutorials are great.
Since this Semester on my University I take a course called webapplications, and your tutorials to Hibernate helped me rapidly to build up my Database accas of my Webaplication. ( build with Servlets JSPs PostgreSQL and Hibernate).

THX for your work, is therea I way too support you ?

joschw
Автор

Thanks for this tutorial.
I see that there are more than 90000 visits to the tutorial but less than 300 likes. I encourage people to click on like to help people upload content like this and share them for free

compartelo
Автор

cant find hibernate.config.xml file help

PradeepKumar-ssfh
Автор

ankush, I know you must be busy, but can you make this same tutorial using maven, please?

shashgo
Автор

Sir can u plz share the link for hibernate.cfg.xml.... I unable to find it

meghnasingh
join shbcf.ru