Java Hibernate Tutorial Part 1 - setup

Patrick WashingtonDC · 458K views · 2010 · 10:51

Open on YouTube

Software (other)Databases & storagetutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering beginners who have Hibernate configuration or setup errors, or who need a walkthrough of ORM basics in Eclipse.

Recommended by 2 people across 2 different months, 2011 to 2012.

What it is

A 10-minute screencast that starts a Java Hibernate tutorial series, showing how to set up Eclipse, a database and Hibernate using JPA annotations. It is presented by Patrick Washington and aimed at beginners following along step by step.

What people said

Recommends Mark Bramnik · 2012-07 · Stack Overflow · on “Error: /hibernate.cfg.xml not found”

Its obviously a wrong setup. You can get a detailed explanations by searching in google how to setup eclipse to work with hibernate. There are even video tutorials about this. Like this one [this video] :) Good luck

Recommends gauravoli · 2012-11 · Stack Overflow · on “Sql Query independent of database in java application”

ORM is your solution, It will make a separate layer over Database. And that layer will interact with your database. If you want to change the database from Oracle to MySql, just change the XML file and you are done. Just try this tutorial: Definitely will help you alot: [this video]

Cites bobetko · 2011-08 · Stack Overflow · on “What can I do with "Could not parse configuration" error from Hibernate?”

I am following Java Hibernate tutorial [this video] example from YouTube. Everything looks great until I try to run code which is supposed to create table Employee on Apache Derby server. I tried to use SQL server (2008) first and I was getting the same error. Could not parse configuration: hibernate.cfg.xml and there is also timeout error . I appreciate any help. Thanks. Here is the error I get: 17:28:51,574 INFO Version:15 - Hibernate Annotations 3.4.0.GA 17:28:51,587 INFO Environment:560 - Hibernate 3.3.2.GA 17:28:51,590 INFO Environment:593 - hibernate.properties not found 17:28:51,594 INFO Environment:771 - Bytecode provider name : javassist 17:28:51,597 INFO Environment:652 - using JDK 1.4