Re: [JBoss-user] Optimized CMP loading

2003-04-04 Thread Simone Milani
ubject: Re: [JBoss-user] Optimized CMP loading Date: Thu, 3 Apr 2003 09:58:48 -0600 You need to use a transaction for the access. We can not assume that data read in one transaction is valid in another transaction. -dain On Thursday, April 3, 2003, at 08:39 AM, Simone Milani wrote: I am usin

Re: [JBoss-user] Optimized CMP loading

2003-04-03 Thread Dain Sundstrom
bax.mDK ey] Set parameter: index=7, jdbcType=NUMERIC, value=4714 And all like this Thanks! Simone - Original Message - From: "Alex Loubyansky" <[EMAIL PROTECTED]> To: "Simone Milani" <[EMAIL PROTECTED]> Sent: Thursday, April 03, 2003 2:17 PM Subject:

Re: [JBoss-user] Optimized CMP loading

2003-04-03 Thread Simone Milani
dBridge.MDSDbax.mDKey] Set parameter: index=7, jdbcType=NUMERIC, value=4714 And all like this Thanks! Simone - Original Message - From: "Alex Loubyansky" <[EMAIL PROTECTED]> To: "Simone Milani" <[EMAIL PROTECTED]> Sent: Thursday, April 03, 2003 2:17 PM Subje

Re: [JBoss-user] Optimized CMP loading

2003-04-03 Thread Alex Loubyansky
Thursday, April 03, 2003, 3:35:05 PM, you wrote: SM> Hi, SM> Is it possible to preload all the entities returned from a finder? Yes, with read-ahead. SM> I have a finder method that returns many rows (around 100) and the read-ahead strategy does not help at all. Does not help or does no

[JBoss-user] Optimized CMP loading

2003-04-03 Thread Simone Milani
Hi,       Is it possible to preload all the entities returned from a finder?  I have a finder method that returns many rows (around 100) and the read-ahead strategy does not help at all.  Also I am using Optimistic locking with 3.2.0 so there is no global entity cache.   Thanks   Simone