|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfri.util.database.jpa.tree.examples.closuretable.JpaExample
public class JpaExample
Shows how to use ClosureTableTreeDao with JPA, using two DAOs to maintain two different trees on the same node table.
Constructor Summary | |
---|---|
JpaExample()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
protected void |
run(DbSession dbSession)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JpaExample()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
protected void run(DbSession dbSession) throws UniqueConstraintViolationException
UniqueConstraintViolationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |