Discussion:
[Middlegen-user] Re: Generating setData method
marten hellmann
2002-03-18 09:31:06 UTC
Permalink
I have exactly the same problem. The setData method is not generated.
Does anyone know what to do about that?
Marten
I have run into one problem that seems to require modifying the generated
code.
The setData method does not seem to be generated in the <bean name>CMP.java
class. I noticed that the example is also missing this method. If I
add the code to set the properties in this method, I am able to create
the entity bean.
Is this a bug or am I missing something? I am using the released 1.0
version.
Thanks,
Mark
Mark Lui
2002-03-18 15:17:10 UTC
Permalink
Check out the latest CVS version. Aslak fixed the problem this last
weekend. XDoclet had a bug that was fixed in 1.1.2 and Middlegen needed a
minor fix to work with this version of XDoclet. In addition, XDoclet now
defaults to the COMP_NAME instead of the JNDI_NAME in the Utility class. To
point back to the JNDI_NAME add the tag @ejb:util generate="physical" to the
template file.

Mark
-----Original Message-----
hellmann
Sent: Monday, March 18, 2002 3:33 AM
Subject: [Middlegen-user] Re: Generating setData method
I have exactly the same problem. The setData method is not generated.
Does anyone know what to do about that?
Marten
I have run into one problem that seems to require modifying the generated
code.
The setData method does not seem to be generated in the <bean
name>CMP.java
class. I noticed that the example is also missing this method. If I
add the code to set the properties in this method, I am able to create
the entity bean.
Is this a bug or am I missing something? I am using the released 1.0
version.
Thanks,
Mark
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...