| java.lang.Object relations.Main
Main | public class Main (Code) | | A very simple, stand-alone program that stores a new entity in the
database and then performs a query to retrieve it.
|
Method Summary | |
public static void | initFamilyTree(EntityManager em) Creates a partial family tree of the Greek dieties. | public static void | main(String[] args) | public static void | runQueries(EntityManager em) Run some sample queries against the family tree model. |
initFamilyTree | public static void initFamilyTree(EntityManager em)(Code) | | 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)(Code) | | Run some sample queries against the family tree model.
Parameters: em - the EntityManager to use |
|
|