Java Hibernate Tutorial for Beginners - full

preview_player
Показать описание
This Tutorial will help you learn how to Store information into a database and retrieve the information using Hibernate and the Criteria API. You will need Mysql Server, Netbeans IDE and Heidi SQL Client to follow through. Happy Coding.
Рекомендации по теме
Комментарии
Автор

Sometime, exception.getMessage() can be null, in particular if you are catching an exception other than the one that your code is explicitly creating and throwing. And this can happen anytime as the code grow. A simple exception.printStackTrace() would do (or re-throwing and catching higher in the exception chain). Also, a transaction shouldn't be started and stopped inside a DAO, but from the DAO clients Finally, I would have mention that DatabaseAccessObject is a design pattern. Stopped at min 21 as got to go, but good video!

mysocial
Автор

16:56 - If you're having problems with something along the lines of "no @OneToMany found or defined" make sure to check JDK 5 Language Features. Fixed it for me :)

MegasXLR
Автор

Why you use transaktion for select in the getEmpDetails function ?

RoyAkaAcky
Автор

The project is still running after persisting data on the DB. How to solve that?

johnbritolima
Автор

I have problems to conect to the database and I tried everyThing

luquemeister