Re: Update SQL & Cache

2004-06-11 Thread Enrique Medina
Thanks. But how can I do it? I mean, how can I keep cache up-to-date? If you could give me some hints on this issue, I would appreciate it too much. Now we are just simply flushing the cache (to avoid an unsynchronized cache). Regards, Enrique Medina. From: Jakob Braeuchi <[EMAIL PROTEC

Re: Update SQL & Cache

2004-06-11 Thread Enrique Medina
an I inform the cache? Also, is there a way to do a massive update, I mean, call an update for a collection where OJB would update all objects one by one? Regards, Enrique Medina. From: Armin Waibel <[EMAIL PROTECTED]> Reply-To: "OJB Users List" <[EMAIL PROTECTED]> To: OJB Users

Update SQL & Cache

2004-06-08 Thread Enrique Medina
java.sql.Connection --> What happens with cache? Because no OJB API is used, so it would became incosistent. b) Using a QueryBySQL --> Does OJB manage the cache then? How is this done? Thanks in advance, Enrique Medina. _ De

RE: Reference proxies & Interfaces

2004-05-24 Thread Enrique Medina
understand what is causing this. What version of OJB are you using? Maybe the anonymous field above is causing the problem? Not sure what OJB does if access="anonymous" is not set, and there is no field in the class. Also, you might like to change the name, as it isnt a valid java varia

Size of database result

2004-05-24 Thread Enrique Medina
limit to X, can I be sure that only X records are retrieved from DB, even if I use a proxy? How and when does OJB retrieve the rest of the records? Thanks in advance, Enrique Medina. _ ¿Dónde se esconden [EMAIL PROTECTED] [EMAIL

RE: Reference proxies & Interfaces

2004-05-24 Thread Enrique Medina
You're right with access="anonymous". The perfect solution was to set access="anonymous" when my field is nested, so OJB won't try to instantiate it until it gets to the reference, so there's no need to put the 'new' within the constructor. Thanks a

RE: Reference proxies & Interfaces

2004-05-20 Thread Enrique Medina
eign key' in the table. But, in my opinion, this breaks with OO design, as I am using 'relational concepts' instead of 'OO concepts'. This is one of the problems of the 'impedance mismatch' and I think the OO way to solve it is using OO design the way I sug

Reference proxies & Interfaces

2004-05-20 Thread Enrique Medina
e' in the class-descriptor for 'CityVO'? I would welcome any suggestions, critics and comments from anyone that has worked with reference proxies and interfaces with OJB. Thanks in advance, Enrique Medina. _

Re: Sequencers in clustered environment

2004-05-17 Thread Enrique Medina
Users List" <[EMAIL PROTECTED]> To: OJB Users List <[EMAIL PROTECTED]> Subject: Re: Sequencers in clustered environment Date: Tue, 11 May 2004 18:56:18 +0200 Enrique Medina wrote: In my architecture desing, a Business Object (BO) is responsible for invoking methods on an OJB imp

Re: Sequencers in clustered environment

2004-05-11 Thread Enrique Medina
Users List" <[EMAIL PROTECTED]> To: OJB Users List <[EMAIL PROTECTED]> Subject: Re: Sequencers in clustered environment Date: Tue, 11 May 2004 14:21:54 +0200 Hi Enrique, Enrique Medina wrote: Hi, I've read the tutorial about how to work in a clustered environment, special

Length attribute in OJB field descriptor

2004-05-10 Thread Enrique Medina
its primary key. The result is an exception from Oracle: java.sql.SQLException: ORA-01401: inserted value too large for column So it seems that OJB does not check for the length before inserting the record. And my question is, what is the length attribute used for? Thanks in advance, Enrique

Sequencers in clustered environment

2004-05-10 Thread Enrique Medina
D, as EJB do. I would appreciate some suggestions and posible alternatives or misconceptions I may have with this solution. Thanks in advance, Enrique Medina. _ ¿Cuánto vale tu auto? Tips para mantener tu carro. ¡De todo en MSN L

Re: Clustered cache with OSCache & JavaGroups

2004-04-28 Thread Enrique Medina
only updating changes are communicated through JGroups by OSCache. Thanks anyway for the support, Enrique Medina. From: Jason McKerr <[EMAIL PROTECTED]> Reply-To: "OJB Users List" <[EMAIL PROTECTED]> To: OJB Users List <[EMAIL PROTECTED]> Subject: Re: Clustered cache wi

RE: OJB - Query for two table join

2004-04-22 Thread Enrique Medina
Hi again and just one comment to my previous message, setAttributes() is new to RC6, and substitutes deprecated setColumns() from older versions ... Regards, Enrique Medina. From: "Enrique Medina" <[EMAIL PROTECTED]> Reply-To: "OJB Users List" <[EMAIL PROTECTED]&g

RE: OJB - Query for two table join

2004-04-22 Thread Enrique Medina
By("A.xxx"); ... q.addOrderBy("B.zzz"); ... return broker.getReportQueryIteratorByQuery(q); // which returns an Object[] Hope it helps you, Enrique Medina. From: Info <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: OJB - Query for two table join Date: Thu

Re: Clustered cache with OSCache & JavaGroups

2004-04-22 Thread Enrique Medina
2004 12:45:45 -0700 Not really sure what the problem is here. I will attempt to set up some nodes here at the OSL over the next day or two and debug. What Web container/OS are you using? Jason On Wed, 2004-04-21 at 11:14, Enrique Medina wrote: > Cache events are correct, but they are "loca

Re: Clustered cache with OSCache & JavaGroups

2004-04-21 Thread Enrique Medina
st" <[EMAIL PROTECTED]> To: OJB Users List <[EMAIL PROTECTED]> Subject: Re: Clustered cache with OSCache & JavaGroups Date: Wed, 21 Apr 2004 10:24:41 -0700 The debug output will show the cache events being handled such as read and gets from the cache. Jason On Wed, 2004-04-2

Re: Clustered cache with OSCache & JavaGroups

2004-04-21 Thread Enrique Medina
Groups Date: Wed, 21 Apr 2004 08:20:56 -0700 Can you add the a line to your/a log4j properties files that lowers the debug level? It would look like: log4j.category.com.opensymphony.oscache=DEBUG On Wed, 2004-04-21 at 07:58, Enrique Medina wrote: > Hi, > > I have developed a web applica

Clustered cache with OSCache & JavaGroups

2004-04-21 Thread Enrique Medina
this can be maybe the problem ... But I confess I have no idea ... Thanks in advance, Enrique Medina. _ Correos más divertidos con fotos y textos increíbles en MSN 8. Pruébalo gratis dos meses. http://join.m