relations
Class Main
java.lang.Object
   relations.Main
relations.Main
- public class Main 
- extends Object
A very simple, stand-alone program that stores a new entity in the
 database and then performs a query to retrieve it.
| Constructor Summary | 
| Main()
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Main
public Main()
main
public static void main(String[] args)
- 
 
initFamilyTree
public static void initFamilyTree(EntityManager em)
- Creates a partial family tree of the Greek dieties.
 
- 
- Parameters:
- em- the EntityManager to use in the persistence process
 
runQueries
public static void runQueries(EntityManager em)
- Run some sample queries against the family tree model.
 
- 
- Parameters:
- em- the EntityManager to use
 
Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.