Re: Need Help !

2004-10-06 Thread Thomas Dudziak
Sylvain Juge wrote: It seems that when I load OJB, it doesn't automatically load the repository_database.xml file that is in the build/resources folder on runtime. I've seen that OJB is able to work like that, but I don't want to do it on runtime, just use static xml config files. Since i'm an abs

Re: RE: Need Help !

2004-10-06 Thread Sylvain Juge
in this way: broker = PersistenceBrokerFactoryFactory.instance().defaultPersistenceBroker(); and I don't have problem, but I'm not an expert. -Mensaje original- De: Rajadurai K [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 06 de octubre de 2004 11:58 Para: 'OJB Users List' Asunto: RE: Need Help !

RE: Need Help !

2004-10-06 Thread Alessandro Colantoni
11:58 Para: 'OJB Users List' Asunto: RE: Need Help ! hi, I think U have to increase the maxActive in Ojb.properties. can u do that and verify. Basically that error says that it can't able to get the connection from pool. Rajadurai -Original Message- From: Sylvain Juge

RE: Need Help !

2004-10-06 Thread Rajadurai K
hi, I think U have to increase the maxActive in Ojb.properties. can u do that and verify. Basically that error says that it can't able to get the connection from pool. Rajadurai -Original Message- From: Sylvain Juge [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 1:18 PM

Re: Need Help !

2004-10-06 Thread Thomas Dudziak
Sylvain Juge wrote: I'm trying to use OJB API, and especially Object Persistance, but it doesn't work. I can build without any errors, the database schema is properly generated and executed on the RDBMS (MySQL). I've tried with default configuration files provided in ojb-blank, thus using embedd

RE: Need help to auto-retrieve some individuals

2004-04-28 Thread edson . richter
ll have > there > though is if the membership in the collection overlaps as in my male/female - > adult/minor > example above. The collections are really modeled to represent relationships not > arbitrary > queries. In this case each child is going to belong to two distinct collectio

RE: Need help to auto-retrieve some individuals

2004-04-27 Thread Lance Eason
age- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 8:52 AM To: OJB Users List Subject: Re: Need help to auto-retrieve some individuals Hi Gustavo, did you see the query customizer stuff? http://db.apache.org/ojb/tutorial3.html#Customizing%20collection%20querie

RE: Need help to auto-retrieve some individuals

2004-04-27 Thread Gelhar, Wallace Joseph
, April 27, 2004 8:47 AM To: OJB Users List Subject: Re: Need help to auto-retrieve some individuals Thanks Edson for your quick answer. We ´ve already seen your approach. The problem we see with it,is in our real world, the fact that attributes values are more than two in some cases (male and female

Re: Need help to auto-retrieve some individuals

2004-04-27 Thread Armin Waibel
Hi Gustavo, did you see the query customizer stuff? http://db.apache.org/ojb/tutorial3.html#Customizing%20collection%20queries regards, Armin [EMAIL PROTECTED] wrote: Thanks Edson for your quick answer. We Âve already seen your approach. The problem we see with it,is in our real world, the fact

Re: Need help to auto-retrieve some individuals

2004-04-27 Thread gfaerman
Thanks Edson for your quick answer. We Âve already seen your approach. The problem we see with it,is in our real world, the fact that attributes values are more than two in some cases (male and female is just a set of two for this example), and as you say, in some cases there is a large numbre o

Re: Need help to auto-retrieve some individuals

2004-04-27 Thread Edson Carlos Ericksson Richter
Unless your Father has a very large number of children (as can occur in a Construction and the elements of construction in a price building system), you will find easier to get all childrens and implements two business methods in your Father bean: getFemaleChildrens() and getMaleChildrens(). S