This is described in the OJB 's tutorial.
/*manager is instanceOf PeristenceManager*/
Query query = manager.newQuery(MaClasse.class)
Collection results = (Collection)query.execute();
This code works with the C/S API and JDO
Alexandre Touret
Emmanuel Dupont wrote:
All,
What is the bes
java:35)
Thanks for your help
Alexandre Touret
--
__________
Alexandre Touret
mailto:[EMAIL PROTECTED]
You must add to your classpath the librairies included with torque
(http://db.apache.org/torque)
Alexandre Touret
Mauricio CASTRO wrote:
Hi.
After executing "bin\build.bat dump-testdb" I get the following error:
BUILD FAILED
java.lang.NoClassDefFoundError: com/workingdogs/village
DEBUG: OjbStoreConnector.commit
0 [main] INFO
fr.cgbi.commons.persistence.testcase.JDOPersistenceManagerTest -
app.getId()=0 <-- PRIMARY KEY
I had inserted the internal tables of OJB but the insertion return the
same result :-(
Thanks for your help
Alexandr