RE: [Xdoclet-user] value-objects wrong PK usage

2002-04-29 Thread Alex Loubyansky
offend JBoss :) > > alex > > > -Original Message- > > From: Marius Kotsbak [mailto:[EMAIL PROTECTED]] > > Sent: Friday, April 26, 2002 11:34 PM > > To: [EMAIL PROTECTED] > > Cc: 'Ingo Bruell'; 'xdoclet-user' > > Subject: Re: [Xd

Re: Re[2]: [Xdoclet-user] value-objects wrong PK usage

2002-04-29 Thread Vincent Harcq
> But i wonder why most the time autonumber fields are used as pk. Could > someone explane (it should be OT but i am interested in) > Why not ? OK that is simple answer Why would you want to have a complex PK ? OK also not very fair The main reason I see is the possibility you have after to chan

AW: Re[2]: [Xdoclet-user] value-objects wrong PK usage

2002-04-29 Thread bwillner
ww.theserverside.com, Patterns section rsp. EJB Design Patterns book) for more info. cu, Bernie -Ursprungliche Nachricht- Von: Ingo Bruell [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 29. April 2002 10:33 An: [EMAIL PROTECTED] Betreff: Re[2]: [Xdoclet-user] value-objects wrong PK usage

Re[2]: [Xdoclet-user] value-objects wrong PK usage

2002-04-29 Thread Ingo Bruell
Hi, oops, my reply was going directly to Marius. MK> Alex Loubyansky wrote: >> What do you mean "complex PKs don't work very well with jboss3.x now"? >> MK> http://main.jboss.org/forums/thread.jsp?forum=46&thread=9931 MK> So i stopped using it. I don't know if it is just the table-creating M

RE: [Xdoclet-user] value-objects wrong PK usage

2002-04-29 Thread Alex Loubyansky
L PROTECTED] > Cc: 'Ingo Bruell'; 'xdoclet-user' > Subject: Re: [Xdoclet-user] value-objects wrong PK usage > > > Alex Loubyansky wrote: > > > What do you mean "complex PKs don't work very well with > jboss3.x now"? > > > http://main.jbo

Re: [Xdoclet-user] value-objects wrong PK usage

2002-04-26 Thread Emerson Cargnin - MSA
I solved the previous problem (didn't find the interfaces/homes when in javadoc) but i had to make the following modification : sourcepath="${java.dir};${log4j.path}" to sourcepath="${java.dir};${log4j.path};${generated.java.dir}" and have to run ant two times (at first gives me the same previ

Re: [Xdoclet-user] value-objects wrong PK usage

2002-04-26 Thread Marius Kotsbak
t; > >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED]]On Behalf Of >>Marius Kotsbak >>Sent: Friday, April 26, 2002 5:32 PM >>To: Ingo Bruell >>Cc: xdoclet-user >>Subject: Re: [Xdoclet-user] value-objects wrong

Re: [Xdoclet-user] value-objects wrong PK usage

2002-04-26 Thread Ingo Bruell
I found the error: in class PkTagsHandler, method pkfieldListFrom is a statement: "ret = name + "." + attr;" it should be: "ret += name + "." + attr;" Ingo Bruell --- <[EMAIL PROTECTED]> Oldenburg PGP-Fingerprint: 9DD0 1776 DF4D 5B16 A532 C2A1 4701 EEA2 Germany PGP-Public-Key available at p

RE: [Xdoclet-user] value-objects wrong PK usage

2002-04-26 Thread Alex Loubyansky
xdoclet-user > Subject: Re: [Xdoclet-user] value-objects wrong PK usage > > > I have also seen this. Have also reported it as a bug, but I > don't think > anyone has commented it. > > Another thing to remember is that complex PKs does't work > very wel

Re: [Xdoclet-user] value-objects wrong PK usage

2002-04-26 Thread Marius Kotsbak
I have also seen this. Have also reported it as a bug, but I don't think anyone has commented it. Another thing to remember is that complex PKs does't work very well with jboss 3.x now, if you use it. Ingo Bruell wrote: > Hi, > > i am using now value-objects, to get my non persistent attri

[Xdoclet-user] value-objects wrong PK usage

2002-04-26 Thread Ingo Bruell
Hi, i am using now value-objects, to get my non persistent attributes into a "DataObject". Most auf my beans have komplex Primary Keys, that means that they are composed with two or more attributes. In a ValueObject a PrimaryKey is only created withe the last PrimaryKey attribute and so it could