RE: db with many tables

2004-12-06 Thread Peter Guarnieri
Thanks for the advice. I think I may end up just doing the whole thing by hand. It's looking like that may be less work than setting up OJB to work. Which is a shame, because I really like OJB :) Thanks again for the advice though -Pete From: Thomas Dudziak Sent: Mon 12/6/2004 1:30 PM To: OJB

Re: [OT]Sorry to the community

2004-12-06 Thread Thomas Mahler
Hi Edson, I guess one of the central social techniques on mailing lists is "Don't feed the troll". So I won't exlude the person in question from the mailing list. But everyone on this list should be warned when he tries to launch the next thread. But maybe he has left us for good after detecting

Re: db with many tables

2004-12-06 Thread Thomas Dudziak
Peter Guarnieri wrote: Hey all, I'm currently trying to write a Java program to suck out a whole heap of data from an MsSQL db which is the backend of an MS SharePoint portal. Sharepoint stores data for each new "list" created by creating a new table. So every time someone creates a new list of do

Re: db with many tables

2004-12-06 Thread Thomas Dudziak
Peter Guarnieri wrote: Hey all, I'm currently trying to write a Java program to suck out a whole heap of data from an MsSQL db which is the backend of an MS SharePoint portal. Sharepoint stores data for each new "list" created by creating a new table. So every time someone creates a new list of do

RE: db with many tables

2004-12-06 Thread Daniel Perry
I'm dont think you can map one type to many tables. You can map extents where you have more than one subclass, each mapped to a different table, and then access the extent type - but i dont think it will like mapping multiple tables to the exact same type. I am, however, fairly sure that you can

OJB web application netbeans 4 project

2004-12-06 Thread Ɓukasz Korzybski
Hi, I've integrated nicely ojb with xdoclet and torque into netbeans webapp project. Torque build file, configurations etc. are taken from ojb_blank. Is possible to run steup-db and xdoclet targets from netbeans directly, also all files needed by OJB are packaged by netbeans to war file. I l

db with many tables

2004-12-06 Thread Peter Guarnieri
Hey all, I'm currently trying to write a Java program to suck out a whole heap of data from an MsSQL db which is the backend of an MS SharePoint portal. Sharepoint stores data for each new "list" created by creating a new table. So every time someone creates a new list of documents for exampele

Re: Optimistic Locking Problem.

2004-12-06 Thread Wesley Lemke
I didn't have pb.close() in my code, Just the pb.commit(). I have added pb.close now, and the same thing still happens. The first time I run the code the exception is thrown, but not after that. Here is the full log if it helps (the number after the ":" is the lock value): [12/6/04 10:08:51:555

RE: criteria/query by object

2004-12-06 Thread Beeker, Andreas
The repository snipplet looks quite similar to mine. I post the original code snipplets of the repository and the query, just to make sure, that I haven't forgotten anything. (TestRun <=> TestLauf, TestStep <=> TestSchritt/TestSchrittXDE) I've tried different combinations for the query (i.e. ("tes

Re: OJB

2004-12-06 Thread Michael . Sack
ok have many thx Michael

Re: OJB

2004-12-06 Thread Thomas Franke
[EMAIL PROTECTED] wrote: Can you help me please? You will find everything you need under: http://db.apache.org/ojb/docu/index.html There are lots of things to learn before you find ojb easy to use. regards Thomas - To unsubscribe,

Re: OJB

2004-12-06 Thread Thomas Dudziak
[EMAIL PROTECTED] wrote: Hello, I'm new in JDO and OJB. I tried to configure the ojb Implementation with Eclipse...but there where several errors. Do i need every jar file in the lib-folder? Can you perhaps describe what i have to do to get ojb working? I also tried to use the tutorial on your h

Re: PB Tutorial: Query By Criteria on Object

2004-12-06 Thread Annapoorani Rathi
Hi, Thanks for your inputs. I changed all the primitive data types (not just PK and FK values) used to objects and it worked. Thanks Anna Armin Waibel <[EMAIL PROTECTED]> wrote: Hi Anna, Annapoorani Rathi wrote: > Hi, > > I just started on OJB.. > > In PB Tutorial, the code snippet does n

OJB

2004-12-06 Thread Michael . Sack
Hello, I'm new in JDO and OJB. I tried to configure the ojb Implementation with Eclipse...but there where several errors. Do i need every jar file in the lib-folder? Can you perhaps describe what i have to do to get ojb working? I also tried to use the tutorial on your hp but i don't kno how to

Re: PB Tutorial: Query By Criteria on Object

2004-12-06 Thread Armin Waibel
Hi Anna, Annapoorani Rathi wrote: Hi, I just started on OJB.. In PB Tutorial, the code snippet does not fetch me the record and result is null (though the record is present in DB) broker = PersistenceBrokerFactory.defaultPersistenceBroker(); QueryByCriteria query = new QueryByCriteria(templ

Re: Problem with n:m association

2004-12-06 Thread Armin Waibel
Thomas Papke wrote: Ok i have solved the problem. There was no pk defined for my class called "meinung", because i develop step by step and meinung was not yet complet (i found this with some more debugging infos in ojb). So in detail there was not problem with my n:m association. So thanks for

Re: to many WARN logs

2004-12-06 Thread Armin Waibel
Thomas Franke wrote: Hi Thomas, sorry, I was for 2 days out of office, now my comments below ... Thanks, Thomas. Normally not. This coding does it for me. Wherever I changed my code in this manner, I don't got the warning _for this place_ anymore ... I think you got the warning further because yo

Re: to many WARN logs

2004-12-06 Thread Thomas Franke
Hi Thomas, sorry, I was for 2 days out of office, now my comments below ... Thanks, Thomas. Normally not. This coding does it for me. Wherever I changed my code in this manner, I don't got the warning _for this place_ anymore ... I think you got the warning further because your change didn't capt

Re: to many WARN logs

2004-12-06 Thread Thomas Paradies
Hi Thomas, sorry, I was for 2 days out of office, now my comments below ... It's not a bug it's a feature :-) No, it's only a warning but very helpful by telling you: Hey man, could it be you forget to bound your transaction. I see it just like the deprecation messages displayed by the javac - i