Of Gene
Sent: Tuesday, November 23, 2004 22:36
To: [EMAIL PROTECTED]
Subject: Re: Sub query use with Criteria.PARENT_QUERY_PREFIX
Stark, Roman starkr at indiana.edu writes:
Hi All
I am still struggling with the sub query feature and the use of the
subCrit.addEqualToField(productGroupId
mainQry = QueryFactory.newQuery(PsNames.class, crit);
Collection results = broker.getCollectionByQuery(mainQry);
-Original Message-
From: Stark, Roman [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 8:13 AM
To: OJB Users List
Cc: Stark, Roman
Subject: OJB sub query with effective
Hi All
I am still struggling with the sub query feature and the use of the
subCrit.addEqualToField(productGroupId,Criteria.PARENT_QUERY _PREFIX +
groupId);
Has anyone used this successfully and if so would you mind sharing some
of your experience and a code snippet please.
I have been trying
I am still new to OJB and I was just wondering why in the suggestion
code below you chose
crit.addLike( state, somestate );
Rather than something like
Crit.addEqualTo(state, somestate);
Or even
Crit.addColumnEqualTo(state, somestate);
Sorry if this is a stupid question, but I just was
Query mainQry = QueryFactory.newQuery(PsNames.class, crit);
Collection results = broker.getCollectionByQuery(mainQry);
-Original Message-
From: Stark, Roman [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 8:13 AM
To: OJB Users List
Cc: Stark, Roman
Subject
:48
To: OJB Users List
Subject: Re: FW: Newbie Question : There was no default-PBKey specified
Hi Roman,
does OJB find your repository.xml file?
Think we need more detailed info to help, so could you please post the
whole stack trace and the connection declaration.
regards,
Armin
Stark, Roman
specified
Did you modify the repository.xml file? Are all sub-files included?
The xml ENTITY reference + xyz declaration.
regards,
Armin
Stark, Roman wrote:
I am assuming so. All the xml files are in src/resources and if I
move repository.xml to the root I get an error that it can't find