Re: Derby configuration

2006-03-07 Thread Thomas Dudziak
On 3/6/06, Sean C. McCarthy <[EMAIL PROTECTED]> wrote: > I'm trying to work with Derby, but I'm not sure which DB to use for the > torque.database property. > > Looking at the torque-gen I see there is a cloudscape, is cloudscape the > name to set? Any other special configuration needed? Is there

QueryByCriteria#addGroupBy question

2006-03-07 Thread Hiller, Frank RD-AS2
Hi, I'm using ojb1.0.3 and Oracle 10g. I tried to use QueryByCriteria#addGroupBy but I get the error "java.sql.SQLException: ORA-00979: not a GROUP BY expression" What's the way to retrieve a collection of objects, filtered with the "group by" attribute? Thanks, Frank

PB behavor of Collection item delete ?

2006-03-07 Thread ABOU LINA
Hi, in ojb document : --- Say you use the PB to query an object O that has a collection attribute col with five elements a,b,c,d,e. Next you delete Objects d and e from col and store O again with PersistenceBroker.store(O); PB will store the remaining objects a,b

Re: QueryByCriteria#addGroupBy question

2006-03-07 Thread ABOU LINA
Hi, in ojb document : --- Say you use the PB to query an object O that has a collection attribute col with five elements a,b,c,d,e. Next you delete Objects d and e from col and store O again with PersistenceBroker.store(O); PB will store the remaining objects a,b

NESTED OBJECT 1:n is possible ???

2006-03-07 Thread ABOU LINA
How can i use nested object in case of 1:n ?? it s possible in OJB

Re: ODMG ordering with circular pairs

2006-03-07 Thread Bruno CROS
Hi Armin. Hi all. Ok. Well, i discussed about the bug with the developer who found it. After we have inspected the code (really this time) we found the error. There's no more bug about modifying objects after flush. Now, we have established some important rules to code ODMG transactions (never l

Re: PB behavor of Collection item delete ?

2006-03-07 Thread Armin Waibel
Hi, ABOU LINA wrote: Hi, in ojb document : --- Say you use the PB to query an object O that has a collection attribute col with five elements a,b,c,d,e. Next you delete Objects d and e from col and store O again with PersistenceBroker.store(O); PB will store t

Re: NESTED OBJECT 1:n is possible ???

2006-03-07 Thread Armin Waibel
ABOU LINA wrote: How can i use nested object in case of 1:n ?? it s possible in OJB Sorry, I don't understand your question. In OJB nested objects can be used "group" and encapsulate fields of persistent objects. http://db.apache.org/ojb/docu/guides/advanced-technique.html#Nested+Objects Co

Borrow broker from pool failed

2006-03-07 Thread Rick Roman
I have been getting this error message intermittently. Would this message result from running out of connections, like I failed to close the broker in some function? Servlet.service() for servlet action threw exception org.apache.ojb.broker.PBFactoryException: Borrow broker from pool failed, using

Re: ODMG ordering with circular pairs

2006-03-07 Thread Bruno CROS
Oups, a type error at the end of my mail. "I don't think i will test this deeper, because you warned me about doing this (get object from other broker). " That explains the strange behaviour we had. Regards. Sorry for mistake. On 3/7/06, Bruno CROS <[EMAIL PROTECTED]> wrote: > > > Hi Armin.