Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Android Security Essentials Live Lessons this week in the Android 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
Similar Threads
Simple Hibernate Container Example
I'm learning Hibernate, and posting examples that I've created to learn it.
Collection Mapping
One class whose instances are contained in multiple other classes.
Problem in Running Hibernate Sample application