Iterating the cache?

2006-02-06 Thread Bernd Laengerich
Hi, maybe a stupid question: Is there a way to iterate through the ObjectCache? I didn't find it in the Javadoc. With kind regards Bernd Längerich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

xdoclet 1.2.1 generating masses of foreign key references

2005-11-10 Thread Bernd Laengerich
Hi, another problem: given is an abstract base class A with many implementations A1Impl, A2Impl, A3Impl. The base class references a second class B. When running xdoclet, it generates an xml schema file with as many foreign key references as there are implementations plus the one from the

Re: xdoclet 1.2.1 generating masses of foreign key references

2005-11-10 Thread Bernd Laengerich
Thomas Dudziak wrote: Please update to the 1.2.3 version (both XDoclet the XDoclet module, as well as XJavadoc 1.1). You can download them from here: Thank you, it now works. I already read the version history but thought, nothing of interest for me was fixed... Bernd

[Fwd: Re: Inheritance using special attribute ojbConcreteClass issue]

2005-10-27 Thread Bernd Laengerich
Thomas Dudziak wrote: Might be either the XDoclet module or Torque. Could you post the generated repository file ? I found out what the Problem ist, I guess. The accept-data.xml generated by Torque contains the java attribute names instead of the data base column names, so in: AccTerminal

Re: Inheritance using special attribute ojbConcreteClass issue

2005-10-26 Thread Bernd Laengerich
Thomas Dudziak wrote: I think the error comes from the XDoclet module, not from Torque. The problem is that you should not redefine the field in the subclass I haven't redefined it in the java code, so you think it should not appear in the repository xml for the subclass? The usual

Inheritance using special attribute ojbConcreteClass issue

2005-10-25 Thread Bernd Laengerich
Hi, is there any way to tell OJB to use a different attribute name for a specific class instead of ojbConcreteClass? The problem is, I have a table A with objects of two different classes A und B (both using inheritance) instantiated from it. Torque refuses the datasql target with the

How to close the connection to the data base?

2005-08-22 Thread Bernd Laengerich
Hi, when I lose the connection to the database, I want to close/release the connection and let OJB try to reestablish it. I haven't figured out yet, how to do it. I am using the PB API. At the moment, when I shut down the data base server, I get: [SQLServer 2000 Driver for JDBC]Connection

Newbie problem finding a solution retrieving orphaned rows

2005-07-13 Thread Bernd Laengerich
Hi, First please excuse my english as this is not my native language. I am new to OJB and I am using the PB-API. Given class A with attributes and a foreign key reference to class B (b_ref) class B with b_id and more attributes The reference is n to 1, so one instance of B can be referenced by