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
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
Hi all,
can i use cloudscape with OJB?
regards
saurabh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
Return Receipt
Your Clustering with OJB
documen
t: