|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.ojb.broker.ProxyExamples
Demo Application that shows basic concepts for Applications using the PersistenceBroker as a mediator for persistence
| Field Summary | |
(package private) PersistenceBroker |
broker
|
| Constructor Summary | |
ProxyExamples(java.lang.String name)
Insert the method's description here. |
|
| Method Summary | |
protected Article |
createArticle(int id)
Insert the method's description here. |
static void |
main(java.lang.String[] args)
|
void |
setUp()
Insert the method's description here. |
void |
tearDown()
Insert the method's description here. |
void |
testCollectionProxies()
|
void |
testCollectionProxiesAndExtents()
|
void |
testDynamicProxies()
This example shows how the PersistenceBroker can be used with a highly configurable proxy concept. |
void |
testProgrammedProxies()
This example shows how the PersistenceBroker can be used with a highly configurable proxy concept. |
void |
testProxiesAndJDBCTransactionIsolation()
Default the transaction isolation level of a JDBC connection is READ-COMMITED. |
void |
testReferenceProxies()
|
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
PersistenceBroker broker
| Constructor Detail |
public ProxyExamples(java.lang.String name)
| Method Detail |
public static void main(java.lang.String[] args)
protected Article createArticle(int id)
id - int
public void setUp()
throws PBFactoryException
PBFactoryExceptionpublic void tearDown()
public void testProgrammedProxies()
public void testDynamicProxies()
public void testCollectionProxies()
public void testCollectionProxiesAndExtents()
public void testReferenceProxies()
public void testProxiesAndJDBCTransactionIsolation()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||