Re: feature request?

2005-03-18 Thread Thomas Dudziak
That would be great because then the XDoclet module can add the pk-references to the foreignkey-elements which makes the repository.xml less brittle. Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

AW: AW: How to delete single objects in a referenced collection?

2005-03-18 Thread Hiller, Frank RD-AS2
Hi Martin, is there a way to check if user uD was successfully associated to M? Have add and remove of associations to be done manually? What I saw in the meantime while debugging: Collection result = getCollectionByQuery(fkQuery, cds); (in QueryReferenceBroker.java, method

Re: Excalibur Integration

2005-03-18 Thread Martin Kalén
Markus Wolf wrote: Thanks for your help, When the dtd is in the jar also (in the same directory) then it works. Great - but it really shows that the error reporting needs to be shaped up in that area. When specifying then ConnectionFactoryManagedImpl then each and every connection attempt is

Re: AW: AW: How to delete single objects in a referenced collection?

2005-03-18 Thread Martin Kalén
Hiller, Frank RD-AS2 wrote: is there a way to check if user uD was successfully associated to M? Have add and remove of associations to be done manually? What I was trying to say was just that you need to perform the operations on the vector that OJB returns, not to make a new vector, add an

repository.xml partially read

2005-03-18 Thread Bruno CROS
Hello, I setup a repository.xml as ojb-blank project description of my file is below. This file works very well on Tomcat over windows, but not at all on AIX ! AIX log tells me that No repository is loaded, the parsing seems to stop in a subfile !! (see below) so OJB starts with empty

Re: repository.xml partially read

2005-03-18 Thread Thomas Dudziak
Might be that the XML parser has problems with entities. You can try changing the XML parser, e.g. putting Xerces into the lib folder. Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: repository.xml partially read

2005-03-18 Thread Martin Kalén
Bruno CROS wrote: I setup a repository.xml as ojb-blank project description of my file is below. This file works very well on Tomcat over windows, but not at all on AIX ! This is the third subject on the same issue in a pretty short time, the other two were resolved by changing DTD declaration

Re: repository.xml partially read

2005-03-18 Thread Bruno CROS
repository.dtd is in classpath, and i tried to declare it in repository.xml with SYSTEM repository.dtd. No way. I think the failure occurs because i have 2 jdbc-descriptors, and dtd allows only one connector (according to doc in file). But what i cannot understand, is that it works fine with

Re: repository.xml partially read

2005-03-18 Thread Thomas Dudziak
No, you can have multiple jdbc-connection-descriptor elements, but they need to differ in the jcd-alias. Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: repository.xml partially read

2005-03-18 Thread Bruno CROS
Waouh, was just an awful bad naming. I had forgotten than Windows is not case sensitive !!! Unix is... argh the xml database in my repository.xml was named repository_database_rushDB instead of repository_database_rushDb. So confuseD. So sorrY. Thanks again for your help. ++ On Fri, 18 Mar

Re: How does OBJ find it's Config (Eclipse Plugin)

2005-03-18 Thread Jakob Braeuchi
hi robert, i always use the 'working directoty' setting in the run config to point to the directory where the repository resides, ie: ${workspace_loc:db-ojb}/target/test/ojb or ${workspace_loc:db-ojb}/src/test/org/apache/ojb db-ojb is the name of the eclipse-project. hth jakob Robert Einsle

Re: How does OBJ find it's Config (Eclipse Plugin)

2005-03-18 Thread Robert Einsle
Hy Jakob, can you give me an Tip where to find this Setting?? I use Eclipse 3.0.1 Thanks. \Robert Jakob Braeuchi schrieb: hi robert, i always use the 'working directoty' setting in the run config to point to the directory where the repository resides, ie: ${workspace_loc:db-ojb}/target/test/ojb

Re: How does OBJ find it's Config (Eclipse Plugin)

2005-03-18 Thread Jakob Braeuchi
hi robert, it's in the arguments screen of the run-config. jakob Robert Einsle schrieb: Hy Jakob, can you give me an Tip where to find this Setting?? I use Eclipse 3.0.1 Thanks. \Robert Jakob Braeuchi schrieb: hi robert, i always use the 'working directoty' setting in the run config to point to

Composite primary keys

2005-03-18 Thread Mike Jackson
I've been looking at the docs but I don't see one that screams here. Can someone point me at something that tell me how to setup for composite primary keys? --mikej -=- mike jackson [EMAIL PROTECTED] - To unsubscribe,

Re: Composite primary keys

2005-03-18 Thread Martin Kalén
Mike Jackson wrote: I've been looking at the docs but I don't see one that screams here. Can someone point me at something that tell me how to setup for composite primary keys? Use primarykey=true on multiple field-descriptor elements, and the key will be composed as a composite of all those.

RE: Composite primary keys

2005-03-18 Thread Mike Jackson
Thanks, I didn't see that. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Martin Kalén [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 4:38 PM To: OJB Users List Subject: Re: Composite primary keys Mike Jackson wrote: I've been looking at the

AW: How does OBJ find it's Config (Eclipse Plugin)

2005-03-18 Thread Frank Rub
Hi, put your ojb.properties-File to the src-folder of your project: workspace/myProject/src/ Have a look at your eclipse project-config (look for Build Path). All content from this folder will be compiled (if java source code) and copied to WEB-INF/classes. I hope, this will help. Best regards

Re: How does OBJ find it's Config (Eclipse Plugin)

2005-03-18 Thread Robert Einsle
Hy, i make this like the others Java-Projects, a have an seperate resources-Folder, putting the OJB-Configuration in it. The Structure is: WEB-INF/ src resources classes Where the propperties are in resources. This is working. My Problem is the usage in an