Re: Making all implementors of IF persistent

2003-12-16 Thread Justis Peters
of which subclass it is. Anyhow, enjoy! Regards, Justis Peters Oculan Corp. [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I want to map a table to an interface. I have some persistent classes and their according interfaces. I also have some decorators wich add some aspects to the persistent

Re: Wrong class materialized when selecting from an extent mapped to a multi-table join

2003-10-17 Thread Justis Peters
of org.apache.ojb.broker.B, even if the data exists. Thanks again! Justis Peters Oculan Corp. [EMAIL PROTECTED] Jakob Braeuchi [EMAIL PROTECTED] wrote: hi justis, is this another case of mixing extents and 'super'-references ? i had a long offline discussion with brendan regarding this topic: http

Re: Connection failed if DB restarted?

2003-10-17 Thread Justis Peters
, Justis Peters Oculan Corp. [EMAIL PROTECTED] Armin Waibel [EMAIL PROTECTED] wrote: Hi Andrew, you can use the 'validationQuery' attribute of connection-pool element to specify a validation query. This query will be executed each time before a connection was delivered by the pool. Any

Re: ConnectionValidator (was: Re: Connection failed if DB restarted?)

2003-10-17 Thread Justis Peters
Hi Armin, Armin Waibel [EMAIL PROTECTED] wrote: On Fri, 17 Oct 2003 11:54:56 -0400, Justis Peters [EMAIL PROTECTED] wrote: Could we handle this by defining an interface and allowing users to specify their own tester class? Here is what I am picturing: yes this will be possible, but can

Re: ConnectionValidator (was: Re: Connection failed if DB restarted?)

2003-10-17 Thread Justis Peters
defaultValidationQuery() method and in the implemetation classes we build queries against e.g. a DB system table or return null if not supported. Then it will be easy to build some sort of base ConnectionValidator. What do you think? This sounds fantastic. Thanks for the discussion! Sincerely yours, Justis

Re: Wrong class materialized when selecting from an extent mapped to a multi-table join

2003-10-17 Thread Justis Peters
, Justis Peters Oculan Corp. [EMAIL PROTECTED] Jakob Braeuchi [EMAIL PROTECTED] wrote: hi justis, wallace, this problem is caused by Identity#equals noch checking objectsRealClass . consider the following situation: a select for InterfaceA fires 2 selects SELECT A0.VALUE_,A0.ID FROM A_TABLE A0

Re: problem with update inherits

2003-10-17 Thread Justis Peters
that are relevant to the problem Thanks! Justis Peters Oculan Corp. [EMAIL PROTECTED] Ramon Cano Granizo [EMAIL PROTECTED] wrote: I'm trying update an object than inherits from other, the problem 's than de base class doesn't update, it's makes an insert and an update of the extends class. Could

Re: Using PersistenceBroker store with inheritance mappings

2003-10-17 Thread Justis Peters
your own sequence manager. Enjoy! http://db.apache.org/ojb/sequencemanager.html Justis Peters Oculan Corp. [EMAIL PROTECTED] Matt Mastrangelo [EMAIL PROTECTED] wrote: I'm having some trouble using the PersistenceBroker store method on an object mapped with a simple inheritance hierarchy

Wrong class materialized when selecting from an extent mapped to a multi-table join

2003-10-16 Thread Justis Peters
, Justis Peters Oculan Corp. [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ConcurrentModificationException

2003-10-09 Thread Justis Peters
To be really careful about closing the broker, you may want to include a try/finally structure. Here is Charles' code modified: public void onEvent() { PersistenceBroker pb = PersistenceBrokerFactory.defaultPersistenceBroker(); try { pb.store(this); // or whatever it is you want

Re: Accessing other tables.

2003-10-03 Thread Justis Peters
to actually differentiate between a null value and a 0 value. If this is not the problem, please send us the info you request above. Good luck with your data migration! Sincerely, Justis Peters [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I am trying to get some data into my OJB enabled

Re: RC3 x RC4 ?

2003-10-02 Thread Justis Peters
Hi Glauber, Please read the release-notes.txt file that is included with each distribution. It includes details about what is new in each release, up to including the release that you downloaded. Thanks, Justis Peters Glauber Andrade [EMAIL PROTECTED] wrote: Hi list, We are using the RC3

Re: RC3 x RC4 ?

2003-10-02 Thread Justis Peters
find some settings that work really well for you. Enjoy! Justis Peters Oculan Corp. www.oculan.com Glauber Andrade [EMAIL PROTECTED] wrote: Ok. One more question... I am not using proxy classes. Would the performance be better if I use it ? Thanks, Glauber - Original Message

Re: externalize db-props from repository.xml

2003-09-29 Thread Justis Peters
at the following pages from the manual: http://ant.apache.org/manual/CoreTasks/filter.html http://ant.apache.org/manual/CoreTypes/filterset.html Best of luck! Ant will make your life so much easier... Justis Peters Oculan Corp. www.oculan.com [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi