File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple Hibernate Container Example

 
Christopher Rygaard
Ranch Hand
Posts: 42
3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simple Container Example

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

The interesting parts are the annotation on Contained._container and Container._children.

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

This is the contained class:

This is the container class:

This is an example of how to use a container in Hibernate:
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic