RE: Sub query use with Criteria.PARENT_QUERY_PREFIX

2004-11-24 Thread Stark, Roman
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

RE: OJB sub query with effective date and effective sequence logic

2004-11-23 Thread Stark, Roman
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

Sub query use with Criteria.PARENT_QUERY_PREFIX

2004-11-23 Thread Stark, Roman
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

RE: Unique query without using primary key?

2004-11-23 Thread Stark, Roman
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

RE: OJB sub query with effective date and effective sequence logic

2004-11-23 Thread Stark, Roman
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

RE: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Stark, Roman
: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

RE: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread 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