Re: [Xdoclet-user] Unknown primary key

2003-02-19 Thread Simone Milani
Yes, it does. Not documented though. Make sure you PK type is object and also add this tag: jboss:persistence auto-increment="true" And refer to this for more on JBoss: http://www.jboss.org/forums/thread.jsp?forum=46&thread=21623 Simone - Original Message - From: "Bloomper" <[EMAIL PROTE

Re: [Xdoclet-user] JBoss CMR problem

2003-02-19 Thread Adam
Well, at least I tried.What I used works for me, as the way I'd previous designed it had child keys being thrown into the parent table, and that wasn't acceptable. I'm working more from a DB architecture. You might try reading: http://www.rickhightower.com/ejbcmpcmrtut.html His tutorial goe

RE: [Xdoclet-user] JBoss CMR problem

2003-02-19 Thread Jeff Markham
Well, I solved it but not how you suggested (although, thanks for resonding) and I'm more confused now about relationships than when I started. I just changed my target-multiple="no" tag to target-multiple="yes". Now, the multiplicity for my PfinetUser changes from 'One' to 'Many' which, as I sai

RE: [Xdoclet-user] JBoss CMR problem

2003-02-19 Thread Matthias Bohlen
Hi Adam, if you use UML2EJB (or AndroMDA, as it will be called shortly), you can model this in UML and have those magic XDoclet tags generated automatically without worrying about it. See http://uml2ejb.sourceforge.net Cheers Matthias --- Matthias Bohlen "Consulting that helps project teams to

Re: [Xdoclet-user] JBoss CMR problem

2003-02-19 Thread Adam
Jeff: I was dealing with this very problem last night of 1:1 uni relationship between parent and child. All I can say is "bless the xPetstore demo!" for it showed me the way. Here's what I learned in regard to properly setting up the relationship. This example uses JBoss. I used the Product:It

[Xdoclet-user] Problem: "Error in jboss.xml for Bean KlientSesja: ejb-ref ejb/Osoba found in jboss.xml but not in ejb-jar.xml"

2003-02-19 Thread Przemus
I'm trying to write some EJB using xdoclet 1.2b2, here some code: KlientSesjaBean.java --- /** * @ejb:bean name="KlientSesja" *type="Stateful" * * @ejb.ejb-ref *ejb-name="Osoba" *ref-name="ejb/Osoba" * view-type="local" * * @jboss.ejb-ref-jndi *

[Xdoclet-user] Problem: "Error in jboss.xml for Bean KlientSesja: ejb-ref ejb/Osoba found in jboss.xml but not in ejb-jar.xml"

2003-02-19 Thread ;\)
I'm trying to write some EJB using xdoclet 1.2b2, here some code: KlientSesjaBean.java --- /** * @ejb:bean name="KlientSesja" * type="Stateful" * * @ejb.ejb-ref *ejb-name="Osoba" *ref-name="ejb/Osoba" *view-type="local" * * @jboss.ejb-ref-j

Re: [Xdoclet-user] Struts and xdoclet doesn't swing?

2003-02-19 Thread Erik Hatcher
On Wednesday, February 19, 2003, at 10:37 AM, <[EMAIL PROTECTED]> wrote: Two questions: 1) I need to be able to use the -tag in my struts-config.xml (this is needed to be able to run the Struts workflow extension, http://www.livinglogic.de/Struts/). But how do I generate this from xdoc

[Xdoclet-user] j2ee verifier

2003-02-19 Thread Hani Suleiman
xdoclet generated home classes fail the j2ee verifier, this is due to xdoclet generating JNDI_NAME and COMP_NAME in the home class. It'd be nice if there were some setting whereby these names are not generated in the home class, but in the util class (if utilobject is specified), so xdoclet gen

[Xdoclet-user] Struts and xdoclet doesn't swing?

2003-02-19 Thread Tobias.Hill
Two questions: 1) I need to be able to use the -tag in my struts-config.xml (this is needed to be able to run the Struts workflow extension, http://www.livinglogic.de/Struts/). But how do I generate this from xdoclet? 2) One of the good and strong features in Struts is to be

Re: [Xdoclet-user] Very basic use of xdoclet -- what are the necessary steps?

2003-02-19 Thread Konstantin Priblouda
> > Hmm, writiung support for your own tags in current > > xdoclet version is in no way trivial. Though not > > impossible. > > It's not nearly as difficult as Konstantin makes it > sound :) For complete xdocelt newbiel, and almost newbie in programming? :) This will be major fun :) regards,

Re: [Xdoclet-user] Very basic use of xdoclet -- what are the necessary steps?

2003-02-19 Thread Erik Hatcher
On Wednesday, February 19, 2003, at 04:48 AM, Konstantin Priblouda wrote: --- "Holbrook, R Cody (Cody)" <[EMAIL PROTECTED]> wrote: Hello all, Here's what I'd like to do. I want to make some of my own tags, like @mytag. After that, I want to be able to comment with these tags such that when I

Re: [Xdoclet-user] Very basic use of xdoclet -- what are the necessary steps?

2003-02-19 Thread Konstantin Priblouda
--- "Holbrook, R Cody (Cody)" <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm extremely new to xdoclet and mostly new to > programming as I am transitioning from hardware to > software. In otherwords, please be gentle. > > I've downloaded the newest xdoclet, I'm able to > build from the samples

RE: [Xdoclet-user] New Misssion [Was: Packaging XDoclet in One Jar?]

2003-02-19 Thread Rupp,Heiko
Hi, > From: Andrew Stevens [mailto:[EMAIL PROTECTED]] > Notice how the jndi-name is different for each app server? With the > consolidated version you have above, you couldn't do that... Yes and no :-) For now, each server has its uniqe protocol and port part. This could be automatically be sub