Re: Cannot create database schema and test data using build preparetutorials

2003-02-06 Thread Mehmet D. AKIN
Well it says in the site To check if OJB runs properly out of the box execute *|bin\build junit|* under Win32 and *|bin/build.sh junit|* under Unix/Linux. This will launch the OJB regression test suite. If all tests are passed the console output looks like follows:

Re: Collection need back reference (2)

2003-02-06 Thread Tomas Klubal
On 6.2.2003 at 12:11 Jean-Baptiste BRIAUD wrote: I don't understand why it's necessary. I'm afraid we put relational concept in object model. Say A is compose of many B. And what about if C is compose of many B too and D is also compose B too. Does it mean that I need to add another extra

OjbStoreManager.insert

2003-02-06 Thread Daniel Cloutier
Dear OJB jellows, I can build and run the Tutorial5 example. The six jdori.sql classes are founded in my application. I did personnalize an Hsqldb database. I can connect to it, but when I want to insert a new object, I have this error : (the class manus.dictionnaire.MotDictionnaire is like

RE: Collection need back reference (2)

2003-02-06 Thread Gelhar, Wallace J.
I don't understand why it's necessary. I'm afraid we put relational concept in object model. Say A is compose of many B. And what about if C is compose of many B too and D is also compose B too. Does it mean that I need to add another extra attributes (in this case three) to B class? Is there

Which API

2003-02-06 Thread David Warnock
Ok, so I have got started with OJB. Now the next question is which api should I use? The native one ie Broker etc The ODMG one or JDO (I don't think this is a runner yet as it does not seem clear where I go from here to get into that). I originally started with the intention of using JDO but

OJB Database creation inside J2EE (JBoss)

2003-02-06 Thread Guido Beutler
Hello, I'm accessing OJB inside JBoss 3.0.x. Inside of a session EJB I want to get a Database reference. Calling: Database _ojbDb = null; String pmname = java:/ojb/defaultODMG; ... InitialContext jndiContext = new InitialContext(); ODMGJ2EEFactory

RE: Customizing if a persistente object use the cache or not

2003-02-06 Thread PICARD Jérôme
Title: RE: Customizing if a persistente object use the cache or not Hello, We have created a new implementation for the object's cache. With this implementation, we can choose which object must be in cache or not. The implementation is : aston.solution.ojb.cache.ObjectCacheImpl To

RE: Editing properties through dynamic proxies

2003-02-06 Thread Matthew Baird
from the PersistenceBrokerImpl.java store(... ) method // ProxyObjects only have to be updated if their real subjects have been loaded obj = ProxyHelper.getRealObjectIfMaterialized(obj); enjoy! -Original Message- From: Ilya Scharrenbroich [mailto:[EMAIL PROTECTED]] Sent:

Re: OQL query help: need PB api?

2003-02-06 Thread Phil Warrick
Hi Jakob, Can you navigate a 1-M association directly in a query? The C-B and B-F associations are 1-M, so isn't it ambiguous to navigate them? Thus the need to start from A? I believe this is how it is done with OQL in these cases. Phil Jakob Braeuchi wrote: hi phil, you select from A