Hallo,
I am using dynamic proxies for all my persistent objects. I have no
problem accessing them and their properties, but if I try to update
them I get the following exception. The application works fine if
I remove the corresponding proxy statements from the repository.xml
file. But not using proxies at all is no solution for me.
Please inform me about a solution for this problem.
Thanks in advances
Nikos
org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException:
$Proxy0 not found in OJB Repository
at
org.apache.ojb.broker.metadata.DescriptorRepository.getDescriptorFor(Unknown Source)
at
org.apache.ojb.broker.metadata.DescriptorRepository.getDescriptorFor(Unknown Source)
at org.apache.ojb.broker.singlevm.PersistenceBrokerImpl.store(Unknown
Source)
at org.apache.ojb.broker.singlevm.PersistenceBrokerImpl.store(Unknown
Source)
at org.apache.ojb.broker.singlevm.PersistenceBrokerImpl.store(Unknown
Source)
at com.roxes.ria.castello.store.OJBStore.update(OJBStore.java:291)
at
com.roxes.ria.castello.test.OJBStoreTest.testLookup(OJBStoreTest.java:107)
at
com.roxes.ria.castello.test.OJBStoreTest.runTest(OJBStoreTest.java:43)
at junit.framework.TestCase.runBare(TestCase.java:140)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:131)
at junit.framework.TestSuite.runTest(TestSuite.java:173)
at junit.framework.TestSuite.run(TestSuite.java:168)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:329)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:218)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:151)
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>