Re: [Xdoclet-user] How to use xmlTemplate in hibernate task?

2004-12-22 Thread Andrew Stevens
On Thu, 2004-12-09 at 13:26, Vidya Vadke wrote: I need to generate one xml file which is subset of hbm.xml files getting generated. My ant task looks like this: target name=Hbm mkdir dir=${dist.dir}/Hibernate/ taskdef name=hibernatedoclet

Re: [Xdoclet-user] Problem With Generated File Being Appended

2004-12-22 Thread Andrew Stevens
On Mon, 2004-11-29 at 19:24, Kevin Hinners wrote: I have a custom template that I am using to generate a class file. The ant task is: target name=xdoclet depends=prebuild xdoclet destdir=${build.ejb} template templateFile=delegate-template.xdt

[Xdoclet-user] Design question

2004-12-22 Thread Andy Kriger
I am just starting to read about XDoclet with the idea of using it for Hibernate and Axis. However, I have a design concern that I did not see addressed in the FAQs, docs, articles, or mailing list archive. In the system I am working with, persisted classes do not know anything about Hibernate -

[Xdoclet-user] How to use xdoclet when a MDB extends a base class

2004-12-22 Thread Barbanson, Jasper de
Hi there, I have a problem with using xdoclet together with MDB's. I have several MDB's and each of them extends from the same base class. This base class implements the MessageListener and MessageDrivenBean interfaces. When I put xdoclet tags in the MDB nothing gets generated. Of course you

RE: [Xdoclet-user] How to use xdoclet when a MDB extends a base class

2004-12-22 Thread Barbanson, Jasper de
Greg, That was exactly what I thought, but that doesn't seem to be the case. Because there are also 'normal' MDB's (not extending a base class) and they work perfectly. Included is the source code for both types of MDB. As you can see both have exactly the same tags only with different values.

Re: [Xdoclet-user] How to use xdoclet when a MDB extends a base class

2004-12-22 Thread Grgory Joseph
Jasper, I don't know then... In my case, it seems the only difference is that my base class also goes by a name ending with MDB, and it is declared abstract. Make sure the baseclass has all the lifecycle methods, even ejbCreate(), if you don't have it in your implementations... g Greg, That

[Xdoclet-user] CMP/MySQL Composite Primary-Key and Foreign-Key

2004-12-22 Thread Daniel Golesny
Hi, I've browsed the Archive and Google, but didn't find anything. I have some Entity Beans with an autoincremented PK. But Entity Bean Turn should have a composite PK. game PK FK to GameBean turnNo PK Integer The PK seems to be well generated I can't deploy. What is wrong? If Turn ist not

[Xdoclet-user] WebDoclet - Multiple Source Directories

2004-12-22 Thread jeremy.gehring
Hey everyone, After much digging I think I have found an answer that I hope is not correct; so perhaps someone can tell me I'm wrong and life will be better. Well maybe not just you're wrong and you're a jerk but more along the lines of you're wrong and here's why: insert positive explanation