Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Editing hibernate.cfg.xml and JPA Annotations for POJOs

Loading...

Sign in or sign up now!
13,119
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 5, 2008

This CBT tutorial codes a very simple POJO class called User, and then uses Hibernate, JPA annotations, and the SchemaExport class to have Hibernate create the underlying database needed to support the persistence of the domain model.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • Awesome work...pls post some material on Apache Wicket....Thx...:)

  • Yes, agreed with previous comment, great vid but loose the typewriter sounds.

  • the key stroke noise is bothering

  • wow, not using any IDE~ building source code by raw~

  • Finally, I was able to run your tutorial. Here are some steps for beginners like me to run this example. I used eclipse as my IDE.

    1.Created a java project, and added this class in the package. src/com/test/model/User.java

    2.hiblib directory - I added this to the Java build path in the project properties settings.

    3.Set the source folder settings to contain hibernate.cfg.xml in the build path.

    4.Rightclick on User.java and click run as application. Hope this helps for beginners like me.

  • For a beginner like me, this video is very informative and a good starter. But I really really appreciate if you can put some notes for how to run the application. I think I have difficulty setting up the class path. Please help

  • Many thanks for this video...really a kind of excellent headstart for using JPA and annotations..Please keep posting ur knowledge..

  • xml sucks

    we want pojo

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more