Two questions regarding OJB:
1. Can the Query by Criteria API be used in conjunction with an
existing JDO application? I merely want to gain the query by criteria
function, I don't want to change the rest of my app.
2. Is OJB under active development?
T
Hi,
Thanks for your inputs.
I changed all the primitive data types (not just PK and FK values) used to
objects and it worked.
Thanks
Anna
Armin Waibel <[EMAIL PROTECTED]> wrote:
Hi Anna,
Annapoorani Rathi wrote:
> Hi,
>
> I just started on OJB..
>
> In PB Tutorial, the code snippet does n
Hi Anna,
Annapoorani Rathi wrote:
Hi,
I just started on OJB..
In PB Tutorial, the code snippet does not fetch me the record and result is null (though the record is present in DB)
broker = PersistenceBrokerFactory.defaultPersistenceBroker();
QueryByCriteria query = new QueryByCriteria(templ
Your "template" likely refers to an instance with the default value for
the primary key field, which is 0, and there is no record with PK equal
to zero in your database.
Pulat
Annapoorani Rathi wrote:
Hi,
I just started on OJB..
In PB Tutorial, the code snippet does not fetch me the record a
Hi,
I just started on OJB..
In PB Tutorial, the code snippet does not fetch me the record and result is
null (though the record is present in DB)
broker = PersistenceBrokerFactory.defaultPersistenceBroker();
QueryByCriteria query = new QueryByCriteria(template);
result = (Product)broker.g
Hi!
I am using ojb 1.0.1. I use PB API for querying with in
a ODMG transaction. I use collection proxies for my referenced
collections (by setting proxy="true" in collection descriptor)
and do not use any auto setting explicitly.
When I query a certain type of objects and use Criteria for
specifyin
In my object model, I have a type "Template" which has a reference to
another type, "Size".
I want to find all templates which have a specific "Size"
I expected this to work:
crit.addEqualTo("size", template.getSize());
but it didn't, apparently because there is no FieldDescriptor for