mapping the same class to multiple tables?

2004-06-25 Thread Morley, Liam
My application has to support undo using persistence, as someone must be able to change a previously entered field after closing and re-opening the application. All of my classes extend my own PersistentObject class, but certain classes can be entered into the "History" (to be undone later), and

1:n bidirectional

2004-06-25 Thread David Zejda
Is it possible, to have a ? With this repos (produced from XDoclet) it throws "Integrity constraint violation": Thanks for your suggestions.. David - To unsubscri

Re: XDoclet throws xdoclet.XDocletException when do a reference to same class

2004-06-25 Thread Thomas Dudziak
Clóvis Wichoski wrote: Hi Thomas, I'm using the version 1.0.rc7 from binary distribution (db-ojb-1.0.rc7.tgz), but I found the trouble, I passed to you only the part of class that I think that is with the error, but there as a mapping to a collection of other class, but this class isn't mapped,

Re: XDoclet throws xdoclet.XDocletException when do a reference to same class

2004-06-25 Thread Clóvis Wichoski
Hi Thomas, I'm using the version 1.0.rc7 from binary distribution (db-ojb-1.0.rc7.tgz), but I found the trouble, I passed to you only the part of class that I think that is with the error, but there as a mapping to a collection of other class, but this class isn't mapped, then this invalidades

RE: Returning JavaBean with Collection member from an EJB component

2004-06-25 Thread Vesely, Maxim [IT]
Hello, Would anyone recommend implementing my own collection class instead of RemovalAwareCollection? org.apache.ojb.broker.util.collections.RemovalAwareCollection. I ran some tests and determined that this class is causing MARSHAL exception mentioned bellow. Thank you, Max. -Original

Re: Collection Proxy question

2004-06-25 Thread Bogdan Daniliuc
Hello, I'm using only PB API. I will try setting refresh to true. I will also try with RC7 and see what happends. Thank you very much for your reply. Regards, Bogdan Daniliuc On Thu, 24 Jun 2004 23:48:17 +0100, Luis Cruz wrote > Hello, > > What API are you using? With RC6, and with O

Re: XDoclet throws xdoclet.XDocletException when do a reference to same class

2004-06-25 Thread Thomas Dudziak
Clóvis Wichoski wrote: Hi, I'm attempting to map a reference to same class using XDoclet, but I'm geting the Exception on build: xdoclet.XDocletException: The class Person referenced by myCreator in class Person is not persistent Maybe this is a Bug or there is another way to map references to

XDoclet throws xdoclet.XDocletException when do a reference to same class

2004-06-25 Thread Clóvis Wichoski
Hi, I'm attempting to map a reference to same class using XDoclet, but I'm geting the Exception on build: xdoclet.XDocletException: The class Person referenced by myCreator in class Person is not persistent Maybe this is a Bug or there is another way to map references to same class? follow are