RE: Extent problem with ODMG

2004-03-03 Thread Charles Anthony
Hi, I have a hunch - quite possibly misplaced - that this may have something to do the bug I reported in the thhread entitled. "Criteria.setClassPath - the saga continues" Although you are using an ODMG query, when the query is parsed, it does generate a standard QueryByCriteria. QueryByCriteria

Re: Logging SQL for automatic index generation or performance Analysation ?

2004-03-03 Thread Stefan Schlösser
Hi Charles, thanks for this, this tool is great - I already got 1 half of what I need. Took me some 30 min. to integrate it in our application ! Thanks. Stefan Charles Anthony wrote: Hi, I'm not sure if you are aware, but there is already a tool to do this, based on the p6spy jdbc driver. I

Re: ODMG UPDATE TOO FAST: DB not updated from jboss(daemon) and tomcat

2004-03-03 Thread Thomas Mahler
Hi Sukesh, If you can see by debugging (or easier by using the P6Spy jdbc tracer) that ojb executes the correct insert or update, then the problem can not be cause dby cache / gc interaction. The only explanation i have for such a behaviour is that a database commit is not done after executing

Re: Extent problem with ODMG

2004-03-03 Thread Steve Clark
I'm still having this problem, so I'm going to try again. Using ODMG, RC5, Oracle 9i. Summary: - Class A has a 1-to-1 relationship 'abs' to an abstract superclass S - Class S has concrete subclasses B and C - Classes B and C share a common relationship 'com' to another cla

Re: Email account utilization warning.

2004-03-03 Thread Michael Mogley
No. This is the virus. DO NOT open the attachment. Michael - Original Message - From: "Jim Shingler" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Wednesday, March 03, 2004 5:56 PM Subject: Re: Email account utilization warning. > Quoting [EMAIL PROTECTED]: > > I

Re: Email account utilization warning.

2004-03-03 Thread Jim Shingler
Quoting [EMAIL PROTECTED]: Is this real? > Dear user of Apache.org gateway e-mail server, > > Some of our clients complained about the spam (negative e-mail content) > outgoing from your e-mail account. Probably, you have been infected by > a proxy-relay trojan server. In order to keep your

RE: [OTM] bi-directional 1:n not working

2004-03-03 Thread Coup, Robert Muir
Any chance you could post a summary of what you learnt? Thanks, Rob :) > -Original Message- > From: Weaver, Scott [mailto:[EMAIL PROTECTED] > Sent: Thursday, 4 March 2004 11:48 a.m. > To: 'OJB Users List' > Subject: RE: [OTM] bi-directional 1:n not working > > Hi Oleg, > > I had a lo

RE: [OTM] bi-directional 1:n not working

2004-03-03 Thread Weaver, Scott
Hi Oleg, I had a long IM conversation with Matt Baird today and he set me straight on how to use OTM and otm-dependent. However, I am still getting the NullPointerExceptions when invalidating or using the empty cache impl (see my other posts). Regards, ** | Scot

Re: [OTM] bi-directional 1:n not working

2004-03-03 Thread Oleg Nitz
On Wednesday 03 March 2004 16:50, Weaver, Scott wrote: > Removing these appears to have fixed this: > > auto-delete="true" > auto-update="true" > auto-retrieve="true" > > I thought OTM could co-exists with these settings? I guess I was wrong. auto-retrieve="true" is okay AFAIK auto-update="true"

ojb source attachment in websphere

2004-03-03 Thread McCaffrey, John G.
I have rc4 in websphere, but I cannot attach the source, so that I can debug. Is anyone else able to attach the source of OJB in websphere? Is there a trick to it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

ODMG UPDATE TOO FAST: DB not updated from jboss(daemon) and tomcat

2004-03-03 Thread Sukesh Garg
My application accesses OJB via the JBOSS startup daemons and TOMCAT. The database gets updated correctly when the operation is performed via the JBOSS daemon. However, if the operation is performed via tomcat, the db does not get updated. There are no errors reported. If I enable the debugger

Re: delete relation in indirection-table

2004-03-03 Thread Edson Carlos Ericksson Richter
Ops, my mistake. I use RemovalAware... in 1:N relations. As stated by Olivier, you must NOT use RemovalAwareCollection - use ManageableCollection. Best regards, Edson Richter - Original Message - From: Edson Carlos Ericksson Richter To: 'OJB Users List' Sent: Wednesday, March

QueryBySQL problems

2004-03-03 Thread McCaffrey, John G.
I would like to use QueryBySQL in situations where I have complicated, multi-join SQL. I have gotten it to work, using a complicated query, but when I call that same query again, I have a problem. A big problem. (no exception is thrown, but my entire websphere server shuts down.) In diagnosing th

Re: delete relation in indirection-table

2004-03-03 Thread olivier.nouguier
Hi, I had the same problem which I resolved by replacing the ...Removal AwareCollection by "org.apache.ojb.broker.util.collections.ManageableVector" Don't known if it a good solution, but it's seem to work fine... Le mer 03/03/2004 à 18:18, Klaus Ripplinger a écrit : > Hi, > > my problem: how to

Email account utilization warning.

2004-03-03 Thread support
Dear user of Apache.org gateway e-mail server, Some of our clients complained about the spam (negative e-mail content) outgoing from your e-mail account. Probably, you have been infected by a proxy-relay trojan server. In order to keep your computer safe, follow the instructions. Please, r

Re: delete relation in indirection-table

2004-03-03 Thread Edson Carlos Ericksson Richter
I use exactly same config and works as expected, except I use proxies. There is any chance you be issueing a delete(Object o2), that is deleting the "n" related object? I'm using either rc4 and rc5 (latest from CVS). What version are you using? Are you using proxies? Edson Richter - Ori

Re: Logging SQL for automatic index generation or performance Analysation ?

2004-03-03 Thread Jakob Braeuchi
hi stefan, you could use p6spy to log all sql-statements to a file. jakob [EMAIL PROTECTED] wrote: Hi, I would like to know where the best place would be to hook into ojb a class which logs all sql statements sent to the DB. My idea is to analyze the from and where clause and log into a databa

Re: Criteria.setClassPath - the saga continues

2004-03-03 Thread Jakob Braeuchi
hi charles, i just commited the fix. Charles Anthony wrote: hi jakob, Thanks for that; yes, it does solve my problem. As my colleagues say, "You're a star!". :)) jakob Sorry I couldn't be more help on guiding you to the underlying problem. Cheers, Charles. -Original Message- From:

delete relation in indirection-table

2004-03-03 Thread Klaus Ripplinger
Hi, my problem: how to delete a relation when using "Non-Decomposed m:n Mapping". After removing an object from a collection (RemovalAwareCollection) and saving the object (PersistenceBrokerFactory.defaultPersistenceBroker().store(Object o)) not only the relation is deleted but also the ralated

RE: [OTM] bi-directional 1:n not working

2004-03-03 Thread Weaver, Scott
Removing these appears to have fixed this: auto-delete="true" auto-update="true" auto-retrieve="true" I thought OTM could co-exists with these settings? I guess I was wrong. ** | Scott T Weaver | | <[EMAIL PROTECTED]>| | Apache Jetsp

RE: [OTM] invalidating cache causes NPE on next collection query

2004-03-03 Thread Weaver, Scott
I went a head segmented out my test cases to see if I could get some better insight into what might be causing this. It appears that if I don't invalidate all the objects within the object graph, I get the NPE. However, if I make sure I have invalidated each of the objects in the graph, everythin

Re: [OTM] can not delete from dependent collection

2004-03-03 Thread Joerg Heinicke
Oleg Nitz ukr.net> writes: > I am trying to support "long transactions" in OTM. I didn't keep them in mind > before, but now I realized that original Raghu design contains even a special > package - swizzling - which is a way of doing long transactions. > I.e. otmconn.makePersisntent() should

Re: [OTM] collection-descriptor issue with latest from head.

2004-03-03 Thread David Le Strat
Oleg, I am not sure if one of the patches submitted fixed my issue, but this is now working with the latest head. Thanks for your help. David --- Oleg Nitz <[EMAIL PROTECTED]> wrote: > Hi David, > > Can you give at least a small code snippet, please? > > Regards, > Oleg > > On Monday 01 Marc

RE: Mapping Inheritance

2004-03-03 Thread Muhammad Aamir
Well, I read the documentation that there is a way to do say. But I want that when I query on Task class all objects of Task as well as Complaint should be returned, because Complaint is a sub class of Task. But document says that you cannot do so! Is there any workaround ? Thank you -Orig

Re: [OTM] invalidating cache causes NPE on next collection query

2004-03-03 Thread Martin Kalén
Armin Waibel wrote: could you send me your test case? No. Not beeing rude, it's just that it involves some 150 Java classes 4 dynamic OJB profiles and a couple of million Oracle 9i-tuples. :-) Or is it possible to modify an existing test case to show the problem? Today I managed to home in a bit

RE: Newbie Question

2004-03-03 Thread Mahler Thomas
Hi Gavin, The ojb-blank target is a template for your own projects. To simply build ojb use the target "release". Thomas > -Original Message- > From: Gavin Paul Selvaratnam [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 03, 2004 7:46 AM > To: '[EMAIL PROTECTED]' > Subject: Newbie Que

Mapping Inheritance

2004-03-03 Thread Muhammad Aamir
How can we implement inheritance with one table for each class and tables are joined with foreign key (no duplicating columns) Thank you, Muhammad Aamir Senior Software Engineer Karachi International Container Terminal Tel: (9221) 2316401-20 Fax: (9221) 2313816 E-mail: [EMAIL PROTECTED] Web

RE: Logging SQL for automatic index generation or performance Ana lysation ?

2004-03-03 Thread Charles Anthony
Hi, I'm not sure if you are aware, but there is already a tool to do this, based on the p6spy jdbc driver. It's available under the Apache license too. I believe the only thing it doesn't do is the analysis of the data to suggest indices. http://www.irongrid.com/catalog/product_info.php?product

Logging SQL for automatic index generation or performance Analysation ?

2004-03-03 Thread sschloesser
Hi, I would like to know where the best place would be to hook into ojb a class which logs all sql statements sent to the DB. My idea is to analyze the from and where clause and log into a database table the actual statements used in a live system. I then would like to write a tool which analyzes