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
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
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
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
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
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
*
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
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 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
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
> > 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,
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
--- "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
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
14 matches
Mail list logo