Re: Incorrect or not found field reference name

2006-09-21 Thread Kamal Bhatt
NM. Worked it out. The reference-descriptor was pointing to the column heading instead of the id. Cheers. -- Kamal Bhatt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Dynamic SQL without use of PreparedStatement

2006-09-21 Thread Berner Martin
Hy Dos anybody know how to use the benefit of OJB (creating dynamic SQL whit Criteria and Reportquerry), but not to use PreparedStatements which uses Bindvariables? Thanks for any help Martin Berner - To unsubscribe, e-mail:

Re: Problem with simple report query

2006-09-21 Thread Armin Waibel
Hi Aaron, I want to perform a report query for the ids of VersionBeans that reference namespaces with a given namespace value. I've tried this: ===[BEGIN Query #1]=== Criteria c = new Criteria(); c.addGreaterOrEqualThan(id, new Integer(1));

Re: Dynamic SQL without use of PreparedStatement

2006-09-21 Thread Armin Waibel
Hi Martin, Berner Martin wrote: Hy Dos anybody know how to use the benefit of OJB (creating dynamic SQL whit Criteria and Reportquerry), but not to use PreparedStatements which uses Bindvariables? Think this not possible. OJB always use PreparedStatements to perform Criteria based

Re: removal aware list

2006-09-21 Thread Armin Waibel
Hi Dennis, Dennis Bekkering wrote: Richter, I use 1.04 and explicitly configured ojb not to use a RemovalAwareList. I explicitly configured ojb to use a ManageableArrayList. But still i get a RemovalAwareList out of the proxy class's getData method. I tried to reproduce your test (m:n

Re: TxCheck, JTA and Spring

2006-09-21 Thread Armin Waibel
Hi Mike, Mike Perham wrote: We are using Spring and JTA in container to manage transactional DAOs. We have TxCheck enabled and when one of our transactional DAOs is called in JBoss, we get a No running tx found... message. Should we disable the TxCheck since we are not using PB transactions or

Re: removal aware list

2006-09-21 Thread Edson Carlos Ericksson Richter
Yes, I have a system with about 600 entities, several are M:N, and all are proxies. I can't reproduce either. I'm using 1.0.3. Regards, Richter Armin Waibel escreveu: Hi Dennis, Dennis Bekkering wrote: Richter, I use 1.04 and explicitly configured ojb not to use a RemovalAwareList. I

Re: OJB-DBCP initial connection pool setting support

2006-09-21 Thread Armin Waibel
Hi Eric, Ferrer, Eric wrote: Hi, DBCP supports an initialSize property for initializing connections on startup, does OJB support this parameter? A DBCP property 'initialSize' is not supported. Could you point me at the DBCP doc-section describe this property? regards, Armin

RE: OJB-DBCP initial connection pool setting support

2006-09-21 Thread Ferrer, Eric
Sure Armin, http://jakarta.apache.org/commons/dbcp/configuration.html parameter initialSize added since 1.2 version of jar. I am trying to setup a case where x connections are in the pool per number of users, setup the maxActive to expected load, setup some eviction threads and test that after

Re: removal aware list

2006-09-21 Thread Dennis Bekkering
I tried to reproduce your test (m:n reference + proxy) without success - I always get a ManageableArrayList instance. I'm using latest from SVN (OJB_1_0_RELEASE branch). Could you exactly describe how to reproduce your problem. regards, Armin While describing i found out that there was another