Re: Borrow broker from pool failed. in production server

2006-11-08 Thread Mike Perham
If you are leaking brokers, that doesn't solve the problem - it just works around it. We had the same problem with our Spring/JTA/OJB application and I discovered the problem was due to using Spring DAOs directly instead of going through the Spring transaction layer. On 11/8/06, Marwane <[EMAIL

TxCheck, JTA and Spring

2006-09-19 Thread Mike Perham
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 does TxCheck handle this cas

Problem with Anonymous keys in 1.0.4

2006-09-03 Thread Mike Perham
I'm having trouble getting a simple anonymous key example working in my tests. My class descriptor is something like this: My Java class looks roughly like this: public class ChangeStatus extends BaseObjec

Fwd: OJB dependencies

2006-08-25 Thread Mike Perham
Any comments would be appreciated, even if it's partial knowledge. I'm an OJB newbie so everything helps. mike -- Forwarded message ------ From: Mike Perham <[EMAIL PROTECTED]> Date: Aug 24, 2006 11:02 AM Subject: OJB dependencies To: ojb-user@db.apache.org Hi, we

OJB Dependency breakdown

2006-08-25 Thread Mike Perham
Here's my first pass at determining how OJB 1.0.4 uses the various dependencies. Basically I just moved each package out of lib and ran compile/test to see what failed and how. Comments welcome. The second line for each is my suggested scope/optional dependency setting in the OJB Maven 2 POM, e

OJB dependencies

2006-08-24 Thread Mike Perham
Hi, we are considering using OJB 1.0.4 for our product. We have a pretty tight OSS usage process so I need to know exactly which dependencies are required for our usage of OJB. The best guide I could find was this: http://db.apache.org/ojb/docu/guides/deployment.html#3.+External+dependencies+th

Re: problem with between criteria

2006-08-18 Thread Mike Perham
s. Thanks for the response anyhow. mike Carlos Chávez <[EMAIL PROTECTED]> wrote on 08/18/2006 12:13:25 PM: > Mike Perham escribió: > > > > > > I'm using > > > > crit.addBetween("invoke_date", new Timestamp(startDate.getTime()), > &g

problem with between criteria

2006-08-18 Thread Mike Perham
I'm using crit.addBetween("invoke_date", new Timestamp(startDate.getTime()), new Timestamp(endDate.getTime())); The problem is that that between does not have a Field API like addFieldBetween so I need to use the raw column name. Is there any reason why this API is missing? mike