Re: Simple Inheritance problem with multiple class to one table mapping

2004-11-14 Thread Thomas Dudziak
Sylvain Juge wrote: the XDoclet output is the following In fact now it doesn't process the Apartement.java file, and I don't know why because It used to process the file before. However, even if the file was processed by xdoclet, there was no result in the repository file, like now when it's

Re: Re: Simple Inheritance problem with multiple class to one table mapping

2004-11-14 Thread Sylvain Juge
Hi, Thank for your help, but I think I solved my problem. I don't know what I was doing wrong, but simply by rewriting by hand the Apartment Class, I solved the problem. Now I works really great, despite sometimes Eclipse seems to go a little crazy, so I think I also need to update it (ver

Re: Simple Inheritance problem with multiple class to one table mapping

2004-11-11 Thread Thomas Dudziak
Sylvain Juge wrote: Hi, I'm quite newbie to OJB, and I really need help. I've got one base class AbstractRoom and two derived classes Room and Apartement, and I need to store them in one table named abstract_rooms. The problem is that when I generate repository schema for the database, it's like

Re: Re: Simple Inheritance problem with multiple class to one table mapping

2004-11-11 Thread Sylvain Juge
Here is the XDoclet schema output (repository_user.xml) I removed all irrelevant data to keep it clear. !-- file containing the repository descriptions for user-defined types -- !-- Generated by the xdoclet-ojb module -- class-descriptor class=kdms.core.AbstractRoom extent-class

Re: Simple Inheritance problem with multiple class to one table mapping

2004-11-11 Thread Thomas Dudziak
Sylvain Juge wrote: Here is the XDoclet schema output (repository_user.xml) I removed all irrelevant data to keep it clear. Ahem, I meant the console output when running Ant. The XDoclet module should write out all classes that it processes. Tom

Re: Re: Simple Inheritance problem with multiple class to one table mapping

2004-11-11 Thread Sylvain Juge
the XDoclet output is the following In fact now it doesn't process the Apartement.java file, and I don't know why because It used to process the file before. However, even if the file was processed by xdoclet, there was no result in the repository file, like now when it's not processed, that's