Re: object in QueryByCriteria

2004-08-16 Thread Ashish Rangole
My guess is your attributes have primitive types. That is, oUser.id has type int rather than Integer. If you use the later then just do not set the attribute that you do not want to use in criteria and since it will then be null, it won't be looked at. Ashish Marc Tinnemeyer wrote: > Dear Listmemb

object in QueryByCriteria

2004-08-16 Thread Marc Tinnemeyer
Dear Listmembers, I got the following problem: I try to retrieve an object via ojb using the PB API. The syntax looks like this: broker = PersistenceBrokerFactory.defaultPersistenceBroker(); QueryByCriteria query = new QueryByCriteria(oUser); result = (User) broker.getObjectByQuery(q

can i use cloudscape?

2004-08-16 Thread Saurabh Bhatla
Hi all, can i use cloudscape with OJB? regards saurabh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Jboss and ClassCastException (MetadataManager and JdbcConnectionDescriptor) -- anyone else have it?

2004-08-16 Thread Clute, Andrew
Well, I believe I have found the crux of the issue. I currently have two things deployed to my Jboss server, both which use commons-lang (my non-OJB app is a Tapestry app, and is using langs1.0). When my non-OJB app is deployed, I get the issue. However, when I undeploy that app, and my OJB app is

Howto: OJB 1.0.0 + Torque 3.1 + HSQLDB 1.7.2

2004-08-16 Thread Michael Hart
Hi Guys, For anyone interested, I've been able to get OJB 1.0.0, Torque-Gen 3.1 and HSQLDB 1.7.2 working together. Torque 3.1 seems to work out of the box with OJB 1.0.0, but not with the OJB JUnit tests because Torque 3.1 doesn't like the schema files used for these tests. I've created some new sc

Clustering with OJB

2004-08-16 Thread lasse . lambrecht
Return Receipt Your Clustering with OJB documen t: