File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Blog around the Campfire and the fly likes Simple Hibernate POJO example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Other » Blog around the Campfire
Bookmark "Simple Hibernate POJO example" Watch "Simple Hibernate POJO example" New topic

Simple Hibernate POJO example

Christopher Rygaard
Ranch Hand

Joined: Feb 22, 2014
Posts: 42
Simple POJO Example

This is the simplest stand-alone Hibernate example I could cook up.

Notice: This is provided with no warranty whatsoever. Use at your own risk.

This is the POJO class:

And here is a simple example of how to use the POJO class:

I agree. Here's the link:
subject: Simple Hibernate POJO example
It's not a secret anymore!