RE: OJB Reference Sites

2003-05-29 Thread Mahler Thomas
Hi again, Oops, I forgort to mention the most important thing: Of course we are using OJB in those Systems! We have several OJB based systems now in production for over a year. We never had any OJB releated problems in production. Most problems we faced during development were related to the

Re: 1 to N mapping problems

2003-05-29 Thread kraemer
On Wed, May 28, 2003 at 08:32:16PM +0800, Stephen Ting wrote: Hi Jens, You're right. That's means this setup won't work. If the Log and LogReceiveItem persisting to different table then it should be ok. Haven't try, just guessing. How to configure the repository to enable two classes(Log

[Feature Request] retrieving a collection from reportqueries / paging with reportqueries

2003-05-29 Thread Janssen, Roger
hi, i'm using report queries to retrieve external data (data from other systems). i'm using an empty classdescriptor for some kind of proxy-class that is dynamically modified for each request in which the proxy-class is mapped onto the table of the external data source. no field descriptors are

R: SequenceManagerHighLowImpl: trouble on rc3

2003-05-29 Thread Farnea Massimiliano
Hi, strange! Could you post a test case or add a test to one of the existing test cases to reproduce your problem? Yes it's strange, I noticed a couple of thing ... that could be wrong: First of all, the problem seems the storing of the HighLowSequence object. The maxKey attribute is a 'long'

RE: [Feature Request] retrieving a collection from reportqueries / pa ging with reportqueries

2003-05-29 Thread Mahler Thomas
Hi Roger, -Original Message- From: Janssen, Roger [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 3:02 PM To: 'OJB Users List' Subject: [Feature Request] retrieving a collection from reportqueries / pa ging with reportqueries hi, i'm using report queries to

Re: OJB Reference Sites

2003-05-29 Thread kraemer
On Wed, May 28, 2003 at 01:44:39PM +0100, Mike Williamson wrote: Hi, We're trying to build a case for using OJB on a new project. We're familiar with the tool - and have deployed several production applications already. However, our client is asking for a set of OJB references sites to

Re: Handle broken database connections

2003-05-29 Thread Armin Waibel
Hi Reinhard, - Original Message - From: Reinhard Dunst [EMAIL PROTECTED] To: OJB-Users-List (E-mail) [EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:13 PM Subject: Handle broken database connections Hi, how can I handle broken database connections. If I shut down the database and

Update objects suggestion

2003-05-29 Thread casterx
After using OJB on a number of web projects, I keep encountering the same problem of updating partial object data from a struts form. for example, an object might contain 10 fields, with one PK and a few FKs. the form however, only contains 5 fields. Since the update action doesn't get a hold of

OJB System Test ISSUES

2003-05-29 Thread Pierfranco Lai
I've developed a application with Struts, OJB rc3, Oracle App Serv OC4J 903 and Oracle 8 DB. Now I'm stress-testing the application with JMeter: 5 concurrent users with 3 different http request. Some questions: 1) It seems that the begin, commit and abort transaction funct have effect to all

Re: OJB System Test ISSUES

2003-05-29 Thread Armin Waibel
Hi Pier, - Original Message - From: Pierfranco Lai [EMAIL PROTECTED] To: 'OJB Users List' [EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 6:02 PM Subject: OJB System Test ISSUES I've developed a application with Struts, OJB rc3, Oracle App Serv OC4J 903 and Oracle 8 DB. Now I'm

Re: Alias troubles (was: M to N alias/join troubles)

2003-05-29 Thread Jakob Braeuchi
hi michael, you should not use the name of a relationship in a user alias, in the best case it will have no effect ;) when you do not define your own alias ojb uses the name of the relationship as 'internal' alias. i'll have a look at your problem using an empty criteria. hth jakob Michael

RemovalAwareList status

2003-05-29 Thread Edson Carlos Ericksson Richter
Any news? Thanks, Edson Richter --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.484 / Virus Database: 282 - Release Date: 27/5/2003 smime.p7s Description: S/MIME cryptographic signature

R: OJB System Test ISSUES

2003-05-29 Thread Pierfranco Lai
Hi Armin, -Messaggio originale- Da: Armin Waibel [mailto:[EMAIL PROTECTED] Inviato: mercoledì 28 maggio 2003 18.45 A: OJB Users List Oggetto: Re: OJB System Test ISSUES Hi Pier, - Original Message - From: Pierfranco Lai [EMAIL PROTECTED] To: 'OJB Users List' [EMAIL

class descriptors data views

2003-05-29 Thread Joe Taylor
Hi Folks, Just looking for a way to retrieve different views of data, the scenario is this. I have a table (table1) with a relationship to another table (table2), at times I may want to retrieve all the information from table1 and the related information from table2, however, there are other

Re: RemovalAwareList status

2003-05-29 Thread Thomas Mahler
no new status so far :-( Edson Carlos Ericksson Richter wrote: Any news? Thanks, Edson Richter --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.484 / Virus Database: 282 - Release Date: 27/5/2003

Re: What broker gets used by proxies?

2003-05-29 Thread David Warnock
Can anyone help answer this question: What broker is used to fill proxied collections when the original broker has been returned to the pool? Thanks David If I do the following pseudo code what broker is used to fill the proxies? get a broker execute a query and get back some contact

RE: global oid

2003-05-29 Thread Lance Eason
Just add an attribute globalSequenceId with a value of true to the entry for the sequence manager in your repository file. sequence-manager className=org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl attribute attribute-name=grabSize attribute-value=20/

Re: Alias troubles

2003-05-29 Thread Jakob Braeuchi
hi michael, fixed the bogus sql bug. please use the latest SqlQueryStatement from repository. jakob Michael Hart wrote: Hi Jakob, i did some tests with empty criteria and imo this works ok: Oops... you're right - the example I gave was too minimal :-) Here's a better one: Criteria

Re: OJB System Test ISSUES

2003-05-29 Thread Armin Waibel
Hi again, each thread have to use it's on PB instance -- different connections Normally the steps are: 0. get PB instance from pool (1 - PB Creation) 2 - PB beginTransation 3 - PB store 4 - PB commitTransaction 5. do PB.close() in finally block to return PB instance back to pool. regards, Armin

Help on 1:1 associations

2003-05-29 Thread Hal Arnold
GentleFolk, I'd love someone to point me to the junit example of the 1:1 association, particularily one that stores the associated object tree. I've looked at the OneToOneTest,PersistenceBrokerTest, and BrokerExamples without a clue as to how it should be done. Maybe I don't understand, but

OJB + commercial JDO ?

2003-05-29 Thread Bates, Alex
Has anyone used OJB with a commercial JDO implementation? (esp. Solar Metric?) If so, could you give an idea of the work required to integrate the two? thanks, Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: global oid

2003-05-29 Thread David . Corbin
What you need to do, is create a class-descriptor that describes Object, and all it's persistent derivative objects. Then OIDs are unique across the whole system, and more imporantly when you load an Object.class with OID 5, it will know it has to look at all the tables to find it.

Re: What broker gets used by proxies?

2003-05-29 Thread Armin Waibel
Hi David, - Original Message - From: David Warnock [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 7:59 PM Subject: Re: What broker gets used by proxies? Can anyone help answer this question: What broker is used to fill proxied collections when

SQLException is not thrown when Oracle constrain Voilation occurs

2003-05-29 Thread Lucy Zhao
When I try to do broker.store(Myobject.class), if a violation of Oracle constrain occurs, OJB seems to eat up the error message and doesn't display any warning or error message at all. Is this the normal behavior of OJB or did I miss any thing? Thank you! Lucy

Re: What broker gets used by proxies?

2003-05-29 Thread David Warnock
Armin, Whew, thanks. Panic over. Still I am re-architecuring a bit for performance so the original broker will be around long enough with it's cache. Proxy was associated with PBKey of the 'original' broker and try find an open PB instance with the same PBKey for the current thread, else

Re: global oid

2003-05-29 Thread battjt
java.lang.Object doesn't have an ID field. Are you suggesting that I change my datamodel to have a single peristable super class? Joe [EMAIL PROTECTED] wrote: What you need to do, is create a class-descriptor that describes Object, and all it's persistent derivative objects. Then OIDs are

RE: Alias troubles

2003-05-29 Thread Michael Hart
fixed the bogus sql bug. please use the latest SqlQueryStatement from repository. Beautiful! It seems to work perfectly - I haven't been able to break it yet ;-) you should not use the name of a relationship in a user alias, in the best case it will have no effect ;) Ah really? Well it was

anonymous fields

2003-05-29 Thread Alexander Prozor
Hello All, I've tried to use such scheme as described at : http://cvs.apache.org/viewcvs/db-ojb/xdocs/howto-use-anonymous-keys.xml?rev=HEADcontent-type=text/vnd.viewcvs-markup but I got such exception :(. In few words my prog contains 3 classes class A contains collection B collection C B

Re: anonymous fields

2003-05-29 Thread Raymond Barlow
Hi Alexander Is userDefinitionScreenID a field defined in your mapping? ie. this has to be the name attribute of a field-descriptor definition. Something like: field-descriptor name=userDefinitionScreenID column=_idA jdbc-type=INTEGER access=anonymous/

Re[2]: anonymous fields

2003-05-29 Thread Alexander Prozor
Hello Raymond, sure, I've defined this field in mapping. there are ddl and repository_user.xml files from this project. RB Is userDefinitionScreenID a field defined in your mapping? ie. this RB has to be the name attribute of a field-descriptor definition. Something RB like: RB

Re: anonymous fields

2003-05-29 Thread Raymond Barlow
Hi Alexander, You're right. I've not used anonymous keys like this before (although, I do use them in my app). Maybe I should look further into it! Sorry I couldn't help-just thought I'd have a go ;) Cheers, Raymond Alexander Prozor wrote: Hello Raymond, I think now if example is correct:

RE: Handle broken database connections

2003-05-29 Thread Reinhard Dunst
Hi Armin, yes I think so. A 'refresh()' would make sense. Because there are a lot of situations where the connection to the database can be lost. And when I look in archive for similar situations, there are some of them. I saw, there is just a 'connection.isClosed()' in