Re: proxy question

2005-10-26 Thread Thomas Dudziak
On 10/27/05, Warner Onstine <[EMAIL PROTECTED]> wrote: > Alright so it does appear to have been caused by some weird classpath > issue. But now I'm running into another problem. > > org.apache.ojb.broker.PersistenceBrokerException: > org.apache.ojb.broker.PersistenceBrokerException: Error invoking

Re: proxy question

2005-10-26 Thread Warner Onstine
Alright so it does appear to have been caused by some weird classpath issue. But now I'm running into another problem. org.apache.ojb.broker.PersistenceBrokerException: org.apache.ojb.broker.PersistenceBrokerException: Error invoking method toString at org.apache.ojb.broker.core.proxy.Ind

Re: proxy question

2005-10-26 Thread Warner Onstine
Not really sure, I just wiped out the classes directory and rebuilt completely. Then I opened the class file generated and found the appropriate method in the class file, so I know it's there (and it's the only class named AccountProxy). Just to satisfy my curiosity I set it up through a debugger

Re: proxy question

2005-10-26 Thread Thomas Dudziak
On 10/26/05, Warner Onstine <[EMAIL PROTECTED]> wrote: > Well, I was hoping that that would do the trick but no dice. I'm still > getting the error that it cannot create a proxy using my proxy class. > Caused by: java.lang.NoSuchMethodException: > org.kuali.module.chart.bo.AccountProxy.(java.la

Re: proxy question

2005-10-26 Thread Warner Onstine
Well, I was hoping that that would do the trick but no dice. I'm still getting the error that it cannot create a proxy using my proxy class. org.springframework.orm.ojb.OjbOperationException: OJB operation failed; nested exception is org.apache.ojb.broker.PersistenceBrokerException: Unable to crea

Re: proxy question

2005-10-26 Thread Thomas Dudziak
On 10/26/05, Warner Onstine <[EMAIL PROTECTED]> wrote: > Ok, I'm working on implementing the custom proxy class and am having > some issues. When I try and use my custom Proxy class I get the > following: > > Unable to create proxy using class:org.kuali.module.chart.bo.AccountProxy > > AccountProx

Re: proxy question

2005-10-25 Thread Warner Onstine
Ok, I'm working on implementing the custom proxy class and am having some issues. When I try and use my custom Proxy class I get the following: Unable to create proxy using class:org.kuali.module.chart.bo.AccountProxy AccountProxy extends the VirtualProxy class and implements my interface that I

Re: proxy question

2005-10-25 Thread Warner Onstine
On 10/25/05, Thomas Dudziak <[EMAIL PROTECTED]> wrote: > > On 10/26/05, Warner Onstine <[EMAIL PROTECTED]> wrote: > > > That's what was unclear. We initially thought that the class specified > was > > the implementation, not the interface (the docs are not clear on this > > subject). > > > > So, he

Re: proxy question

2005-10-25 Thread Thomas Dudziak
On 10/26/05, Warner Onstine <[EMAIL PROTECTED]> wrote: > That's what was unclear. We initially thought that the class specified was > the implementation, not the interface (the docs are not clear on this > subject). > > So, here is our situation, we would like to implement proxies, but we want > t

Re: proxy question

2005-10-25 Thread Warner Onstine
That's what was unclear. We initially thought that the class specified was the implementation, not the interface (the docs are not clear on this subject). So, here is our situation, we would like to implement proxies, but we want to do it in a non-invasive way. Should we create a custom proxy clas

Re: proxy question

2005-10-25 Thread Thomas Dudziak
On 10/25/05, Warner Onstine <[EMAIL PROTECTED]> wrote: > Hi all, > This is my first project using OJB so forgive me if this is a simple > question, however I can't find anything specific in the docs for this. > > Currently we have an object called Account which extends another object > called Busin

proxy question

2005-10-25 Thread Warner Onstine
Hi all, This is my first project using OJB so forgive me if this is a simple question, however I can't find anything specific in the docs for this. Currently we have an object called Account which extends another object called BusinessObjectBase. We want to use proxying for any place where the Acc

RE: Dynamic Proxy Question

2005-08-23 Thread Clute, Andrew
> Sent: Friday, August 19, 2005 10:41 AM > To: OJB Users List > Subject: Dynamic Proxy Question > > Dear All, > > Due to the fact that some of our queries might return a > large number of objects (50.000+), I'm trying to use dynamic > proxies. It works well for s

Dynamic Proxy Question

2005-08-19 Thread Bogdan Daniliuc
Dear All, Due to the fact that some of our queries might return a large number of objects (50.000+), I'm trying to use dynamic proxies. It works well for small collections (around 1000 items), however for the large ones the returned collections contain proxies with already instantiated subje

Re: Collection Proxy question

2004-06-25 Thread Bogdan Daniliuc
Hello, I'm using only PB API. I will try setting refresh to true. I will also try with RC7 and see what happends. Thank you very much for your reply. Regards, Bogdan Daniliuc On Thu, 24 Jun 2004 23:48:17 +0100, Luis Cruz wrote > Hello, > > What API are you using? With RC6, and with O

Re: Collection Proxy question

2004-06-24 Thread Luis Cruz
Hello, What API are you using? With RC6, and with ODMG or JDO, auto-update must be set to false. Also, I suggest setting the refresh flag to true. Hope this helps, Luis Cruz On Wed, 2004-06-23 at 08:26, Bogdan Daniliuc wrote: > Hi all, > > We are encountering a problem when using collecti

Collection Proxy question

2004-06-23 Thread Bogdan Daniliuc
Hi all, We are encountering a problem when using collections with proxy (OJB rc6). An object has a mapping with an attached collection as: ... In some cases we have to retrieve the object from the database, clear its collection of entries (by calling entries.clear()), a

RE: proxy question

2003-09-10 Thread Charles Anthony
PROTECTED] >Sent: 10 September 2003 17:13 >To: OJB Users List >Subject: Re: proxy question > > >Joerg Lensing wrote: > >> hi charles, >> ok, but how can I know do i get the real class? (instanceof doesn't >> work.. don't know why9 >> >>

Re: proxy question

2003-09-10 Thread Joerg Lensing
Joerg Lensing wrote: hi charles, ok, but how can I know do i get the real class? (instanceof doesn't work.. don't know why9 e.g. if (pPartnerPO instanceof PersonIF) --> returns "true", but should be false!! sorry: should be if (partnerIF instanceof PersonIF) { joerg

Re: proxy question

2003-09-10 Thread Joerg Lensing
-Original Message- From: Joerg Lensing [mailto:[EMAIL PROTECTED] Sent: 10 September 2003 11:15 To: OJB Users List Subject: proxy question Hi all, do I have to reference all persistent (and mapped) objects by their interface if i want to use

RE: proxy question

2003-09-10 Thread Charles Anthony
In a word, Yes. Cheers, Charles. >-Original Message- >From: Joerg Lensing [mailto:[EMAIL PROTECTED] >Sent: 10 September 2003 11:15 >To: OJB Users List >Subject: proxy question > > >Hi all, >do I have to reference all persistent (and mapped) objects by their &

proxy question

2003-09-10 Thread Joerg Lensing
Hi all, do I have to reference all persistent (and mapped) objects by their interface if i want to use proxies? thanxs joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Proxy question

2003-09-10 Thread Joerg Lensing
hi all, when using dynamic proxies, do i allways have to use the the interface to access the objects? What do I have to change in the code to switch from "real" classes to proxies? joerg - To unsubscribe, e-mail: [EMAIL PROTECTE