Re: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Dmitri Colebatch
> C++ terminology. :-) A constructor that has an argument of the same type > as itself with the job to create a "copy" of that object. (o: ahhh, thankyou I'm obviously showing my lack of c++ programming knowledge... shouldn't be too hard at all to do, will have a look tonight. cheers d

Re: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Daniel Bratell
> > Oh, yes. Of course. That seems very reasonable, but it would require the > > base class to define a copy constructor. Is that a too hard requirement? > >not sure what you mean by a copy constructor, you mean taking defensive >copies? I wouldn't see that we'd need to go that far... C++ term

Re: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Dmitri Colebatch
> >As I understand it, what Lanh is asking for is this: > > > > public AdministratorData( AdministratorData otherData ) > > { > > super(otherData); > > ... > > } > > > >yes? > > > >I can see the argument for that? anyone else, thoughts? > > Oh, yes. Of course. That se

Re: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Daniel Bratell
At 16:03 2002-04-19 +1000, Dmitri Colebatch wrote: >As I understand it, what Lanh is asking for is this: > > public AdministratorData( AdministratorData otherData ) > { > super(otherData); > ... > } > >yes? > >I can see the argument for that? anyone else, thoughts? Oh

Re: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Dmitri Colebatch
As I understand it, what Lanh is asking for is this: public AdministratorData( AdministratorData otherData ) { super(otherData); ... } yes? I can see the argument for that? anyone else, thoughts? cheers dim - Original Message - From: "Daniel Bratell" <[EM

Re: [Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Daniel Bratell
At 11:18 2002-04-19 +0700, Lanh TRAN VAN wrote: >public class AdministratorData >extends sdc.smart.user.UserData >implements java.io.Serializable >{ >static final long serialVersionUID = 821305460747458512L; >public AdministratorData() >{ >} >public AdministratorData( A

[Xdoclet-user] Inheritance Problem in generating DataObject

2002-04-18 Thread Lanh TRAN VAN
Hi, This is the code generated by Xdoclet for a Data class of an entity bean: public class AdministratorData extends sdc.smart.user.UserData implements java.io.Serializable { static final long serialVersionUID = 821305460747458512L; public AdministratorData() { } public Adm

RE: [Xdoclet-user] attributes in data object

2002-04-18 Thread Hicks, James
"What I am trying to do is allow lazy-loading of related objects from data object. So it contains some finder-related methods, which go and fetch the data." I like this idea: lazy loading Aggregated/Composed ValueObjects from ValueObject. Maybe have the ValueObject use the aggregated/composed be

Re: [Xdoclet-user] transactional attribute on local interface

2002-04-18 Thread Andrew Stevens
A wise old hermit known only as Michael Elizarov <[EMAIL PROTECTED]> once said: > Remote ... > lot of fun... Bug? Sounds like bug #517372 "Wrong transact. method-intf for local be" to me. http://sourceforge.net/tracker/index.php?func=detail&aid=517372&group_id=3 1602&atid=402704 You

[Xdoclet-user] attributes in data object

2002-04-18 Thread Michael Elizarov
I write bean classes, which have a hierarchy. All classes in hierarchy are abstract, and not used for actual CMP bean generation, except for leaf nodes. I also use XDoclet to create data object. Quite naturally, data objects follow hierarchy parallel to one of the beans. XDoclet puts all attri

RE: [Xdoclet-user] transactional attribute on local interface

2002-04-18 Thread Aslak Hellesoy
It sounds like a bug. Please file it as a bug report and enclose the associated javadoc section of your bean. you can assign it to me (rinkrank) Thanks in advance, /Aslak > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Michael > Elizarov > Sent: 1

[Xdoclet-user] transactional attribute on local interface

2002-04-18 Thread Michael Elizarov
I have a bunch of entity beans with only local interface, which are facaded by session bean(s) with remote. If I put transaction type tag on locally accessible bean methods, then XDoclet generates something like this in ejb-jar.xml: UnitOfMeasure Remote

Re: [Xdoclet-user] RE: JBoss Subtask Last Updated?

2002-04-18 Thread Marcus Brito
Peter, please note that the DTD for jbosscmp-jdbc.xml has changed. The example you provided here is invalid according to the new DTD. Take a look at this post http://main.jboss.org/forums/thread.jsp?forum=46&thread=12702 in JBoss forums. Here I explained how to write relationships in the new DTD

RE: [Xdoclet-user] WebSphere 4 PK class and etc.

2002-04-18 Thread Aslak Hellesoy
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Shunsuke Masuda > Sent: 18. april 2002 16:34 > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] WebSphere 4 PK class and etc. > > > Hello, > > WebSphere 4 complains of PK classes which have non-public

[Xdoclet-user] WebSphere 4 PK class and etc.

2002-04-18 Thread Shunsuke Masuda
Hello, WebSphere 4 complains of PK classes which have non-public fields at deployment time. To stop this, I think I need to write another entitypk.j and specify it in ant's build files. Are there any other way? And I'd like to know about XDoclet's websphere support development. Is it taken place

[Xdoclet-user] RE: JBoss Subtask Last Updated?

2002-04-18 Thread Peter Shillan
Perhaps I was going down the wrong road here... :-) I want to have a jbosscmp-jdbc.xml file that implements a relationship without any foreign-key constraints. I want it to use a table to map the relationships. I want the following: http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";>

Re: [Xdoclet-user] aggregate/compose in @ejb:value-object, What is the diff?

2002-04-18 Thread Vincent Harcq
Marcus explained it yesterday. I try again. Order is composed of Lines Order aggregate Customer When you create/remove an Order you do NOT create/remove a Customer When you create/remove an Order you do create/remove Lines If the code does not shows you that let me know exactly where. Vincent

[Xdoclet-user] aggregate/compose in @ejb:value-object, What is the diff?

2002-04-18 Thread Petr Kolesnikov
Hello, Vincent writes: >For these look at generated code. The idea is "responsability" of an >entity bean over its related relationship >For Composition Customer knows he is the master of Address, >In all these, aggregate/compose is the Java type of the >aggregate/compose VO (you could read

Re: [Xdoclet-user] the @ejb.data-object tag and the example

2002-04-18 Thread Vincent Harcq
It is It reuse the Data object from it's CMP version You have private test.interfaces.CustomerData dataHolder; public test.interfaces.CustomerData getData(){} etc... in CustomerBMPBMP > In the sample CustomerBMPBean the @ejb.data-object tag is used with > parameters i cant find describe

[Xdoclet-user] the @ejb.data-object tag and the example

2002-04-18 Thread jfina
In the sample CustomerBMPBean the @ejb.data-object tag is used with parameters i cant find described in the documentation: @ejb.data-object generate="false" class="test.interfaces.CustomerData" Is this correct? /Jon ___ Xdoclet-user mailing list [EMA

RE: [Xdoclet-devel] [Xdoclet-user] RE: [JBoss-dev] XDoclet in /tools has BUGSSSSSS

2002-04-18 Thread Aslak Hellesoy
> Come to xdoclet devel to help. > This is unacceptable that weblogic cmp works and not jboss. > WebLogic rocks, JBoss sucks! (That should wake them up, Vincent ;-> ). Aslak > Thanks. > > Vincent > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel _

[Xdoclet-user] RE: [JBoss-dev] XDoclet in /tools has BUGSSSSSS

2002-04-18 Thread Vincent Harcq
Andy, David has tagged xdoclet cvs with a Jboss specific tag sometimes ago. The version today is very very more confident for CMP. Come and tag whenever you want :) Don't forget (amazing) xjavadoc. I take the opportunity to launch a call for help (crossed post to xdoclet lists) There are still s