How to use OJB to implement TableModel interface for JTable purpose?

2004-11-19 Thread Gene
Hi, Any one can tell me if i can use OJB to implement TableModel interface for the purpose of using JTable as view layer? If so, can anyone give some hints or example? Thanks a lot! Gene - To unsubscribe, e-mail: [EMAIL PROT

Re: Java class for ordering SQL statements in ODMG to avoid FK violations

2004-11-19 Thread Armin Waibel
Hi Jakob, Jakob Braeuchi wrote: hi armin, in the testcase i mentioned the auto-update is set to LINK. does the scenario you describe also work for odmg ? suggestion only made for odmg i was thinking of something similar in PB: the PB keeps track of the mn-implementors to be inserted and inserts th

Re: [INTRO01] - I01 - Simple Java Class - Need the quickstart application !

2004-11-19 Thread Jakob Braeuchi
hi ilias, let's wait for the solution tom is working on. jakob Ilias Lazaridis schrieb: Ilias Lazaridis wrote: The series of simplified OJB Introduction applications that I like to contribute to the project, rely initially on the ojb-blank. but: ojb-blank does not provide the basic functionality

RE: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread lasse . lambrecht
Return Receipt Your RE: FW: Newbie Question : There was no default-PBKey documen specified t:

Re: [INTRO01] - I01 - Simple Java Class - Need the quickstart application !

2004-11-19 Thread Ilias Lazaridis
Ilias Lazaridis wrote: The series of simplified OJB Introduction applications that I like to contribute to the project, rely initially on the ojb-blank. but: ojb-blank does not provide the basic functionality needed: - ant-target "run" - ant-target "deploy" [or similar], resulting in an ready

Problem retrieving proxied collections

2004-11-19 Thread Ashish Rangole
Hi! I have m:n mappings and have collection proxies for the collection of referenced objects. I am using v1.0.1 and PB API within ODMG to query. When I query a object having a collection with a certain field of main object as criteria, then I get the collections as well. However, when I use more th

Re: ObjectCacheEmptyImpl that handles recursive references

2004-11-19 Thread Ashish Rangole
Armin, The basic reason why I had to resort to empty implementation in the first place is that with default cache implementation in rc6, the mapping between m:n relations was automatically getting deleted from the mapping tables. I assumed that it was because the default object cache was letting ga

Re: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Thomas Dudziak
Stark, Roman wrote: I think the problem is how I run the application. Thomas Dudziak's post I think made that clear. I just assumed I can use eclps to run it, but this may not be true. I need to figure out how to get this to execute from the corect location. I am not sure if that can be done in

Re: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Pulat Yunusov
Can you please modify your mailer so it doesn't request return receipts? Thank you, Pulat Stark, Roman wrote: For the past tow days I tried to set up the ojb-blank project. Everything I try ends up with the following message: "There was no default-PBKey specified" I am using eclips 3 for the projec

RE: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Stark, Roman
Yep. I didn't touch the repository.xml. ]> &database; &internal; &user; I think the problem is how I run the application. Thomas Dudziak's post I think made that clear. I just assumed I can use eclps to run it, but this may not be true. I

Re: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Armin Waibel
Did you modify the repository.xml file? Are all sub-files included? The xml ENTITY reference + &xyz declaration. regards, Armin Stark, Roman wrote: I am assuming so. All the xml files are in src/resources and if I move repository.xml to the root I get an error that it can't find the repository fil

RE: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Stark, Roman
I am assuming so. All the xml files are in src/resources and if I move repository.xml to the root I get an error that it can't find the repository file. So I think it can find it. Stack trace: There was no default-PBKey specified org.apache.ojb.broker.PBFactoryException: There was no default-PBK

RE: Transaction timed out error

2004-11-19 Thread Vesely, Max [IT]
Mattias, I didn't find a solution for OJB version 1.0 rc6 and WAS 5.0.2. I just got some free time to test with version 1.0.1. and WAS 5.1. I'll post new message if it still happens. Could you, please, let me know what APAR # is for this problem on IBM site? I looked at the link you provided a

Re: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Thomas Dudziak
Stark, Roman wrote: For the past tow days I tried to set up the ojb-blank project. Everything I try ends up with the following message: "There was no default-PBKey specified" I am using eclips 3 for the project following the instructions from the web site. All I have tried so far is just get a con

Re: FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Armin Waibel
Hi Roman, does OJB find your repository.xml file? Think we need more detailed info to help, so could you please post the whole stack trace and the connection declaration. regards, Armin Stark, Roman wrote: For the past tow days I tried to set up the ojb-blank project. Everything I try ends up wit

FW: Newbie Question : There was no default-PBKey specified

2004-11-19 Thread Stark, Roman
> For the past tow days I tried to set up the ojb-blank project. > Everything I try ends up with the following message: "There was no > default-PBKey specified" > > I am using eclips 3 for the project following the instructions from > the web site. All I have tried so far is just get a connectio

Re: [SUGGESTION] - S02 - Answering behaviour on this forum

2004-11-19 Thread Ilias Lazaridis
Tino Schöllhorn wrote: [moved down] Ilias Lazaridis wrote: Daniel Perry wrote: [moved down] From: news [mailto:[EMAIL PROTECTED] Behalf Of Ilias Lazaridis Edson Carlos Ericksson Richter wrote: [moved down] Ilias Lazaridis escreveu: I've noticed several threads, which remained unanswered. This could

Re: ConcurrentModificationException while Deleting Objects

2004-11-19 Thread Gerhard Grosse
Hi Tinoe On Fri, 19 Nov 2004 13:49:59 +0100, Tino Schöllhorn <[EMAIL PROTECTED]> wrote: >Hi Gerhard, > >our application is single-threaded. With the concurrent-package we are >ensuring that requests are delivered in a defined time-frame, or else >they are dismissed. So I do not know which other

RE: ConcurrentModificationException while Deleting Objects

2004-11-19 Thread David . WIESZTAL
Hi Tino and Gerhard, I had the problem. Our application is running on WebLogic, in a managed environment. It's for sure a multi-thread issue and this problem seems to occur when we use global object caching. When an object is cached, and has a collection (in this case a Collection of proxies), if

Re: ConcurrentModificationException while Deleting Objects

2004-11-19 Thread Tino Schöllhorn
Hi Gerhard, our application is single-threaded. With the concurrent-package we are ensuring that requests are delivered in a defined time-frame, or else they are dismissed. So I do not know which other Thread should modify the Person object. But do you know how I could get the name of the colle

Re: [SUGGESTION] - S02 - Answering behaviour on this forum

2004-11-19 Thread Tino Schöllhorn
Hi Ilias, well I not for starting any flame wars. But if you think there should be a common, better FAQ list and the existing documentation is not enough - why don't you just start a FAQ-List and try to improve this project. As you already stated: this is open source and anyone who is interested

Re: ConcurrentModificationException while Deleting Objects

2004-11-19 Thread Gerhard Grosse
Hi Tino this looks like a multi-threading problem. java.util.ConcurrentModification exception is thrown by the Java runtime when a List is being modified while an iterator is iterating over it. The list in this case is one of the collections in your Person object. Is it possible that a second thre

Re: [SUGGESTION] - S02 - Answering behaviour on this forum

2004-11-19 Thread Ilias Lazaridis
Daniel Perry wrote: [moved down] > From: news [mailto:[EMAIL PROTECTED] Behalf Of Ilias Lazaridis Edson Carlos Ericksson Richter wrote: [moved down] Ilias Lazaridis escreveu: I've noticed several threads, which remained unanswered. This could imply to visitors that the product OJB is death (or not

ConcurrentModificationException while Deleting Objects

2004-11-19 Thread Tino Schöllhorn
Hi, I have a weird problem. We are using OJB 1.0 and are greatly satisfied. Now we stumbled across a strange problem. When deleting a Person-Object with: Person p = ...; pb.beginTransaction(); pb.delete(p); pb.commitTransaction(); we get (sometimes) the following Exception: java.util.ConcurrentM

Re: Java class for ordering SQL statements in ODMG to avoid FK violations

2004-11-19 Thread Gerhard Grosse
Hi Jakob, On Fri, 19 Nov 2004 08:20:53 +0100 (MET), "Jakob Braeuchi" <[EMAIL PROTECTED]> wrote: >hi armin, > >in the testcase i mentioned the auto-update is set to LINK. >does the scenario you describe also work for odmg ? i was thinking of >something similar in PB: the PB keeps track of the mn-

Re: Java class for ordering SQL statements in ODMG to avoid FK violations

2004-11-19 Thread Gerhard Grosse
Hi Jakob On Thu, 18 Nov 2004 21:17:04 +0100, Jakob Braeuchi <[EMAIL PROTECTED]> wrote: >hi gerhard, > >i applied a small fix in addCollectionEdges() > >... > else > { > if (col instanceof ManageableCollection) > { > Collection newCol = new A