Re: storing objects

2007-09-14 Thread Hans Novak
Yes, thats it ! Without the repository and the 2 properties files it works !!! I dont have the time this morning to test everything, but both apps are runnunig (my app and the test app for mandragora) without errors. I will test it later for more information. first of all thank you. I would let

Re: storing objects

2007-09-14 Thread Alessandro Colantoni
OK! You are welcome Alessandro On 9/14/07, Hans Novak [EMAIL PROTECTED] wrote: Yes, thats it ! Without the repository and the 2 properties files it works !!! I dont have the time this morning to test everything, but both apps are runnunig (my app and the test app for mandragora) without

Re: storing objects

2007-09-14 Thread Hans Novak
Hi Allessandro, first of all - it is working and looks great. I try first the findCollectionByOrValues. Is there a chance, that it would search not by equal '=', but by like operator ? Hans - To unsubscribe, e-mail:

Re: storing objects

2007-09-14 Thread Alessandro Colantoni
Hi Hans, I'm writing these days the documentation about how to extend Mandragora, that now have just some line bad written. You will see how it easy write the methods you want and integrate them in Mandragora, so you could do bd.yourMethods() Anyway to do what you need should have a look at

Re: storing objects

2007-09-14 Thread Hans Novak
oh... ok :-) but when i write Collection collection = bd.findCollectionByLogicCondition( Partner.class, new LogicSqlCondition(NAME,like,r*) ); i get a collection of partners, who have a r somewhere in his name, not partners, who begins with it

Re: storing objects

2007-09-14 Thread Alessandro Colantoni
if you want that name begin with r put leftlike in place of like 2nd. No you have to use the updateCreateTrees, or updatecollectionreference, or updatecollectionreferences Mandragora update method just do the ojb store. It just save you to to deal with transaction, create broker, closing an

Re: storing objects

2007-09-14 Thread Hans Novak
only one word: wonderful !!! Hans Alessandro Colantoni schrieb: if you want that name begin with r put leftlike in place of like 2nd. No you have to use the updateCreateTrees, or updatecollectionreference, or updatecollectionreferences Mandragora update method just do the ojb store. It

Re: storing objects

2007-09-14 Thread Alessandro Colantoni
Hi Hans, I'm very happy you appreciated it. Any help you need, just ask; Any suggestion is welcome Alessandro On 9/14/07, Hans Novak [EMAIL PROTECTED] wrote: only one word: wonderful !!! Hans Alessandro Colantoni schrieb: if you want that name begin with r put leftlike in place of

Re: Overriding the ProxyList class

2007-09-14 Thread Armin Waibel
Hi Robert, Robert Giddings wrote: The line but this isn't really practical as I can override methods such as indexOf(Object o) as they rely on equals. Should read can't override methods because of relying on equals. Anyway, seems as if the ojb methods are never called as I put some

Re: storing objects

2007-09-14 Thread Armin Waibel
Hi Sergey, Manukyan, Sergey wrote: Hi, About mandragora... it looks like it is a layer on top of PerstenceBroker... my suggestion would be why not to integrate it into OJB and call it something like Simplified API for Persistance Broker (SAP)... ? I only checked the methods of the

Re: n:m mapping problem

2007-09-14 Thread Armin Waibel
Hi Truong, seems that the Apache server removed the attached files. Could you please send the source code as normal text? By the way the generated DB seems to be consistent, so the problem was caused by OJB or wrong usage of OJB. regards, Armin Truong Nguyen Huy wrote: Thank you very