Hi,
I want to specify a permission on create method of session bean home
interface.
/**
* @ejb:create-method view-type="both"
* @ejb:permission unchecked = "yes"
*/
public void ejbCreate() { }
If I specify these tags in my Session Bean class, XDoclet generate
in ejb-jar.xml as I intend.
Bu
> Thanks for the suggestion. However when I run single
> webdoclet goal
> instead of running the reactor,
> maven.xdoclet.webdoclet.force=false
> option is recognized correctly. And I doubt this
> attribute needs numeric
> index since I use properties like
> maven.xdoclet.webdoclet.mergeDir and
>
2003-08-05 화 17:04, Konstantin Priblouda이(가) 씀:
--- Xavier Cho <[EMAIL PROTECTED]> wrote:
Do you specify those properties on reactor level, or
on subprojects?
How can I specify properties on reactor level? I've tried
moving xdoclet properties from the subproject to the main
one which have
I'll try one more time just in case anyone is feeling helpful.
Is there any change someone can email me the attachments that originally
came with the post referenced below; a bunch of patched to WebSphere support
Thanks,
Matthew
> -Original Message-
> From: Matthew Pryor
> Sent: Wednesda
Do you want the Remote/Local interfaces to extend your common interface?
I think that's what you're asking about.
http://www.xdoclet.org/tags/[EMAIL PROTECTED](0..1)
Ex: @ejb.interface extends="unusual.dbapp.ejb.CommonRemoteInterface"
local-extends="unusual.dbapp.ejb.CommonLocalInterface"
There is a bit of a problem though with the situation.
So now I have my model classes that I am generating my forms from.
I want to put @struts.form-field and my @struts.validator as comments in
those files. So that when my forms are generated I do not have to
manually
Input the @struts.validator t
Hi, All.
When I started with Xdoclet, I was most impressed by the way it
generated a PK class, when I have declared 2 fields as primary key, and
did let it generate the PK class.
I have two classes C1, C2 with String as pk, and one class C3, with
relations to
each of the other ones. Its
C1 1:n
I've been doing that in the meanwhile, and it seems that in the main
template (orion.xdt) there is *no support* for relationship fields:
Rupp, Heiko wrote:
Have a look at
http://xdoclet.sourceforge.net/tags/[EMAIL PROTECTED](0..1)
Yes I have read that.
I have tried "target-multiple" attribute but XDoclet seems to ignore it.
and the valueobject docment
http://xdoclet.sourceforge.net/valueobjects.html
Well, I don't see why should I
Isn't for use when a getter method already exists
in one's source code?
In my case there are no existing getter or setter methods in the source. I
am attempting to create a brand new class that just holds the parameter
values needed by the static method and I want the class to have
getter/setter
Hi everybody
I would like to add automaticaly all accessors of an entity bean to its
local interface but i don't know how to do that.
In fact i don't understand why it is not the default behavior of the
xdoclet generation.
Thanks for your help
Jean-Philippe
-
I believe teh ejb-ref tag is to reference an EJB on the same application server. That
is how I use it.
For example my OrderTicket Session bean has an ejb-ref tag so it can use the Ticket
Entity bean.
Tim
-Original Message-
From: Jean-philippe VIGNIEL [mailto:[EMAIL PROTECTED]
Sent:
With a remote Entity call you have the overhead of high network traffic
- serialisation, intercall ops etc... each call to an exposed method
call, via the interface, incurs this overhead... Its an expensive way of
gaining access to entity information - a unfortunate shortfall of using
remote entiti
Hello, I am attempting to use XDoclet to generate some javabeans from
static methods. I am an XDoclet newbie and I am just learning the .xdt
language. How can one capitalize a word in order to construct getters and
setters?
For example, if the static method is
public class Functions{
...
stati
> Isn't for use when a getter method
> already exists in one's source code?
You might be right, as I was running this on some value objects.
Sorry.
But I remember that I wanted to write some 'toUpper' etc. functions
for xdoclet - so yes, I ran into a similar problem to yours.
Heiko
--
Heiko
Hi,
I have a question about stateful session beans.
I wrote a stateful session bean, and the only
differences between this bean and my stateless beans
are the Xdoclet tag type="Stateful" and the ejbCreate
Method, which has a parameter. Xdoclet creates among
other things the following Methods:
Sent this once already, but I'm not sure it went thorugh. My apologies if
we end up with a duplicate.
Bill
> -Original Message-
> From: Bruyn, Bill
> Sent: Tuesday, August 12, 2003 11:17 AM
> To: '[EMAIL PROTECTED]'
> Subject: web.xml missing servlet information
>
> I'
The build.force.docs is just a true/false property that we set at a higher
level to say whether the doc generation should be forced
(I think that docs won't be generated if their creation time is later than the
files modification time)
Do you get any files generated at all?
(eg a all-class.html
So you means that it doesn't matter to use ValueObject or interface if using
Local Interface, right?
If used Remote Interface, it's better to use ValueObject.
Eric
- Original Message -
From: "Shane Griggs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 12, 2003 11:34
On Tuesday 12 Aug 2003 20:40, Mauricio De Diana wrote:
> Hi all.
>
> I have 3 questions:
>
> - First of all, how can I search through Xdoclet
> archives? I found
> the archives in sourceforge, but I couldn´t find any
> search tool. I´m pretty sure that the next questions
> had already been answered
On Tue, 12 Aug 2003 19:27, Shane Griggs wrote:
> you are effectively correct...
But
> - Original Message -
> From: Eric Chow <[EMAIL PROTECTED]>
> Date: Tuesday, August 12, 2003 4:46 pm
> Subject: Re: [Xdoclet-user] Relations : ValueObject or EJB Interface ?
>
> > So you means that it
Thanks for your answer.
I think i've not correcltly explained what i want to do. I would like to
add persistent members accessors of an entity bean to its interface.
I've already tried to add the ejb.interface-method to a persistent
member definition, but it doesn't work. Indeed, if I write th
Nevermind. I got it. I feel kinda silly now, but the problem was just that
I had my tags at the top of the file (i.e., before imports, etc.) rather
than immediately preceding the class definition.
My next experiment was going to be with tagging JSPs and generating mappings
for them from precompi
Hi,
I want to use XDoclet to create struts-config.xml
but it is not working.
This is from my build.xml file :
On my .java file I have the tags :
/**
* @struts.action
*path="/myTestAction"
*
* @struts.action-forward
*name="success"
*path="/hello.js
Often the docs are out-of-date with the tags in the templates. Check out
the Orion .xdt template files to see which tags are really supported. I
did this with WebLogic (search for WL-specific XML entities) to find
some that weren't documented. There were some that weren't implemented,
and it actual
I receive this kind of WARNING where the ejbdoclet task is ran (to build
EJBs) and:
1) The bean implementation class import references to interfaces and value
objects which have to been created by XDoclet
2) The interfaces and values objects have not been created yet
I resolve the problem by runn
Hi there,
I'm evaluating the use of xdoclet for a project intended to run on
an OC4J server, using EJBs with CMP. I've been trying to create my first
EJBs, but when I try to generate the orion-ejb-jar.xml I'm getting a lot
of troubles. It seems that the support for orion/OC4J is very basi
Title: avrupaegitim.com
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://
Hello,
I am using three EJB-modules. Module A needs modules B and C. Each module can be
deployed as an individual EJB on the container. For this issue each module generates a
jboss.xml. But if modules B and C are used in module A, these generated jboss.xml
files have to be merged.
I am using t
Is there a way to use Java methods such String's 'toUpper' function, etc.
within .xdt files?
I find myself wanting to use JSP-like stuff in my .xdt files - scriptlets
and JSLT tags - and but I see the samples don't seem to have any such
constructs in them.
Brian
>>But I remember that I wanted t
Hello,
I am using three EJB-modules. Module A needs modules B and C. Each module can be
deployed as an individual EJB on the container. For this issue each module generates a
jboss.xml. But if modules B and C are used in module A, these generated jboss.xml
files have to be merged.
I am using t
I have been able to deploy the following CMR2.0 bean (and "many-related"
beans) to jboss 3.2.1 with hypersonic db using xdoclet 1.2-beta3. However,
similar to an unanswered earlier post, the combination of xdoclet tags that
I had to use was derived almost from pure luck. The various tags for both
Hello folks...
I've defined my own task in ant
and the template use a handler of mine;
How can I access the tag's
value:
inside my handler??? Can I do that?
I'd like to have this directory and the base ant directory.
Thanks
description
I've looked at the samples and can't seem to figure out the correct tags to make sure
I get all of the necessary classes generated. Basically, I have a generic EJB which
other EJBs extend. I assume the sub-class remotes should extend the super-remote.
Each home can probably be unique, no super
I am not sure about the web-client.xml file. With
web.xml though, for my merge files I use
"servlets.xml" and "servlet-mappings.xml" for
servlets.
Thanks.
--- Jeremy Pulcifer <[EMAIL PROTECTED]> wrote:
> Hello, I've a project I'm working on, and have been
> very happy with xDoclet for handling t
´
> What's the benefit in using ValueObject? Is it
> better to return ValueObject
> other than the EJB's interface ???
>
If you have remote access, it's better to transfer
serializable bean through the wire - if you give
interface every getter call will be remote call.
This could be big perfor
Thanks, Timothy. I didn't think that was it - like I said, it appears to be
finding and parsing the servlet, because I can make it fail by removing the
blank line from the end of the file:
[webdoclet] Error parsing File C:\documents and settings\012909.amer\my
projects\randa\build\web\WEB-INF\c
Andy,
thanks a lot for opening my eyes.
I'm new to XDoclet and I'm still learning it.
Stupid me, should have thought of that.
It's so obvious.
10x again.
Milen
Andy Jefferson wrote:
Is it possible to define one-to-many CMR using XDoclet.
Yes, as the other responder said.
I have dictionary bean:
> Is it possible to define one-to-many CMR using XDoclet.
Yes.
> (which in my opinion is correct). But how can I specify that I want
> one-to-many. I could'n find the answer for that in XDoclet
> documentation.
Have a look at
http://xdoclet.sourceforge.net/tags/[EMAIL PROTECTED](0..1)
and the
I found a solution. There is an undocumented "name"
attribute under "@ejb.data-object" that I was able to
set to "ExampleData" that enabled the correct
generation of the signature on the "getData()" method.
* @ejb.data-object
* name="ExampleData"
* class="test.interfaces.ExampleData"
*
Suggestion from my coworker, Bob:
Looks to me like Jasper isn't happy with the JSP
script it's being asked to convert to Java. It
might be worthwhile to try running Jasper from the
command line first, to see if it's cool with the
.jsp. If not, it might be easier to figure out
the error message
Should have looked more carefuly in the docs for "primkey-field"
attribute of @ejb.bean.
Sorry for this stupid question.
It is because of the heat I guess ...
Milen
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
D
Thomas, thank you for checking this for me and
confirming the tag does work.
I rechecked my xdt (I swear for the 50th time) and,
yep, I just found a misplaced backslash.
All is now working. Thanks
again.
- Original Message -
From:
Kraft, Thomas (FF)
To: '[EMAIL PR
Tag each method you want to appear in the local interface with
@ejb.interface-method type="local"
If you are only generating the local interface, you can drop the type
attribute. There is no way to do this "automatically" that I know of.
You have to tag the methods yourself.
David Harkness
Son
Hi all.
I have 3 questions:
- First of all, how can I search through Xdoclet
archives? I found
the archives in sourceforge, but I couldn´t find any
search tool. I´m pretty sure that the next questions
had already been answered several times, but I
couldn´t find them in the archives.
- How do I g
Hello, I've a project I'm working on, and have been
very happy with xDoclet for handling the code
generation, packaging, and deployment of my EJB's and
JSP's. However, I can't seem to figure out how to
setup/configure xDoclet to prepare my servlets. I have
a simple servlet that I'm using to test th
Andrew Stevens wrote
> include a class-level @ejb.finder for findByPrimaryKey and set
> its transaction-type parameter.
I finally got around to trying this, and presto. Magic.
Thanks Andrew!
David Harkness
Sony Pictures Digital Networks
(310) 482-4756
-Original Message-
From: Andrew St
Hello
Brian,
I
can't beleive this and i tried it out with my XDoclet. So I put the following
code in my .xdt Template:
Test is
equal!
and
then let it run.
So it
newer wrote "Test is equal!" because i newer user this tag (got it from a demo
xdt) but it doesn't causes any error.
So fo
Dear Sir,
Difficulties encountered in efforts to establish a business abroad necessitate this
search for someone to assist me in securing and investing the sum of USD22,000.000
(twenty two million dollars)inherited from my father's business reserve.
I am the heir of a Zimbabwean family.my fath
I not sure your file set is right...
Try
i.e. remove the .../servlet/
-Original Message-
From: Bruyn, Bill [mailto:[EMAIL PROTECTED]
Sent: Tue 12/08/2003 19:16
To: '[EMAIL PROTECTED]'
Cc:
Subject:[Xdoclet-user] web.xml missing servlet info
Hello,
I hope that this is the right place for it. If not, please excuse this
announcement. At least it has something to do with XDoclet and hopefully it
helps some community members.
In a few words Jeeglue generates domain object model realizations (i.e.
value objects, entity beans with XDoclet
I've been unable to get anything out of my servlets into web.xml using the
deploymentdescriptor subtask and my @web.servlet tags. The pathelement
pointing to j2ee.jar (where the javax.servlet packages are located) is
correct, and the servlet file is definitely being parsed (it wants to blow
up wit
From:MR.john kovo.
Tel :(+225)07-438-786
Abidjan Cote D'Ivoire.
email: [EMAIL PROTECTED]
Dearest one,
Permit me to inform you of my desire of going into
business relationship with you .
I am MR.john kovo, The only son of late Mr and Mrs
WILLIAM KOVO My father was a very wealthy GOLD and
COCOA me
How do you use xdoclet and for hibernate with a subclass?
If i have class b that extends a, a and b have the same id. What do i have
to put for xdoclet tags in a and in b
i have in class a
@hibernate-class table="a"
in class b i have
@hibernate-subclass
the docs do not suggest more of a
In using jdodoclet, I need to specify a fileset to pass to jdodoclet. I'm
using xdoclet through Maven and so the properties available to me are
maven.xdoclet.jdodoclet.fileset.{no}.include
maven.xdoclet.jdodoclet.fileset.{no}.exclude
I have the following directory structure
src/java/mydomain/Pr
Does anyone have a complete example of how to generate a
javadoc style to-do list från all @todo comments in code ? Prefrebly runnable
as a task through ANT. I know this is possible, just haven’t
found a working version yet.
//linus Nikander –
On Wed, 2003-08-13 at 10:48, Jean-philippe VIGNIEL wrote:
> i want to write
>
> class ABean{
>
> /**
> /* @ejb.persistence
> /*
> **/
> public abstract String getId();
>public abstract void setId(String id);
> }
>
> and have as result
>
> interface A {
> Strin
Yes it is. My question was just to know if the following code without ejb-ref
tag is wrong or not and (if possible) why.
import TicketEntity;
class OrderTicket {
...
TicketEntity _entity;
...
}
Jean-Philippe
[EMAIL PROTECTED] wrote:
In the example I was thinking of that the Ticke
Hello, When I attempt to use
in an .xdt file I get a "TemplateException - Could not find method
ifMethodTagValueEquals method in class xdoclet.tagshandler.MethodTagsHandler"
error.
This tag being used in a sample xdt file, and viewing
the XDoclet javadocs the guilty method seems to be ther
Hi all.
- How can I search through Xdoclet archives? I found
the archives in sourceforge, but I couldn´t find any
search tool. I´m pretty sure that the next questions
had already been answered several times, but I
couldn´t find them in the archives.
- How do I generate jbosscmp-jdbc.xml?
- When
Hi all,
Is it possible to define one-to-many CMR using XDoclet.
I have dictionary bean:
=={JAVA CODE}
/**
* @ejb.bean
* name = "Dictionary"
* type = "CMP"
* cmp-version = "2.x"
* view-type = "local"
* schema
Hi,
i have some beans with cascaded relations and notice that querying this
valueobjects is very slow.
So my idea is to load the related valueobjects on demand (with a flag
like
demand="true") within the valueobject, is this possible (storing a
reference
to the beans remote interface or something
Is your Ticket Entity bean a member of OrderTicket? What could appen if
you don't use this tag and just add a member of type TicketEntity? Is it
a wrong design?
Jean-Philippe
[EMAIL PROTECTED] wrote:
I believe teh ejb-ref tag is to reference an EJB on the same application server. That is how I
you are effectively correct...
Best place to go about this stuff is the javasoft site and find the
blueprint patterns stuff... this usually describes the reasons why and
some good examples of how...
- Original Message -
From: Eric Chow <[EMAIL PROTECTED]>
Date: Tuesday, August 12, 2003
What a great deal!
I fell sure it is genuine.
-Original Message-
From: MR.john kovo. [mailto:[EMAIL PROTECTED]
Sent: Thu 07/08/2003 19:55
To: [EMAIL PROTECTED]
Cc:
Subject: [Xdoclet-user] seeking for your assistante
I'm running XDoclet and whenever I "make" my build.xml file using JBuilder 7,
XDoclet always returns to me this error.This error started to bug me when I
added this field ( @ejb.ejb-ref ejb-name="TenderConfigEJB" view-type="local" )
in my session bean(Session Facade Implementation).I want to genera
I am not sure on this one.
I guess you would need to change the application server to look for the
Sample-ejb-jar.xml and Sample-weblogic-ejb-jar.xml rather then the standard files.
Rather then getting XDoclet to do it you could use ant to rename/move the files.
However are you sure you want to
Is there a good reason that @jboss.subscriber
tags are not documented anywhere?
Other than the added knowledge of MDB's
and JBoss I might have picked up in the several hours
trying to get durable subscriptions to work...
I am using xdoclet 1.2b3 with jdk 1.4.1 on windows XP
I realize this is probably more of an XJavadoc question but I have an XDT
template that is trying to generate a proxy class, in there is an attempt to
generate a proxy method for each method implemented by this class or any
inherited methods.
Why does the primkey-field attribute need to end with a ; ?
The sample below will only make the PK class if I change
* primkey-field="id"
to be
* primkey-field="id";
Here is a sample
/**
* @ejb.bean type="CMP"
*
Can you attach examples of the code and the build.xml?
Tim
-Original Message-
From: Jeremy Pulcifer [mailto:[EMAIL PROTECTED]
Sent: Wed 13/08/2003 20:32
To: [EMAIL PROTECTED]
Cc:
Subject: [Xdoclet-user] Servlets in JBoss/Jetty with xDocl
By using a value object, you also bypass the security and transactional
checks that exist in the EJBLocalObject stub. This bit me last week as I
assumed they were in a subclass of my bean. I don't think this buys you
a ton of performance gain, but it is *something*.
David Harkness
Sony Pictures Di
I'm not sure you've really understood my problem (i'm not sure it was clearly
explained :))
Generating a method by adding the @ejb.interface works fine.
On the other hand all methods tagged by @ejb.persistence or @ejb.relation
are not added to the interfaces. I guess it's the default behavior
Hi Philipp,
The problem is that bestFriend is *not* a CMP field but rather a CMR
field. You need to code your finder query to use the WHERE clause to
find the Gangster that is the best friend and then traverse the
relationship to get the Gangsters you want in the first place. I'm
making a few assu
I would not use a session bean for each db. I would instead use a
single stateless session bean that implements your interface. The
ejbCreate method of your session bean could accept a parameter that
determines which db to use. The actual db implementation could be a
POJO.
James Hicks
-Ori
On Wednesday 13 Aug 2003 07:57, Jean-philippe VIGNIEL wrote:
> Thanks for your answer.
> I think i've not correcltly explained what i want to do. I would like to
> add persistent members accessors of an entity bean to its interface.
>
> I've already tried to add the ejb.interface-method to a pers
--- Marco Tedone <[EMAIL PROTECTED]> wrote:
> Hi, we are developing an unusual applicatoin,
> basically centered on session
> beans which manage database (not entity beans,
> because the data to be
> retrieved are dynamic). To make our application
> multi-database compliant,
> and following a patt
Well I would use it like this...
import TicketEntity;
/**
* Other tags
*
* @ejb.ejb-ref ejb-name="DemoAppointmentDataBean"
* view-type="local"
*/
class OrderTicket {
...
TicketEntity _entity;
_entity = TicketEntity.getLocalHome();
. ..
}
Hi, David.
I'm spinning my wheels with a WebLogic 7 issue, and their searching
facilities are sorely lacking, so it's nice to have a diversion that I
can actually be successful with. :)
Let me summarize the outcome:
Correct is:
java.util.Collection findUserByPhoneId(PhoneLocal phone)
SELECT
Here's how I do it.
One thing I haven't been able to figure out is how to do the same thing
for the and tasks. Since those tasks are already
defined, I can't give them a new classpath to include ju
Hi,
I am testing email delivery to this list, cause to yesterday send emails
didn't arrive.
best regards
--
Ingo Bruell
---
<[EMAIL PROTECTED]>
OldenburgPGP-Fingerprint: 9DD0 1776 DF4D 5B16 A532 C2A1 4701 EEA2
Germany PGP-Public-Key available at pgpkeys.mit.edu
--
--- ´Þ <[EMAIL PROTECTED]> wrote:
> I recently start to use Hibernate+Ant+XDoclet. But
> xdoclet seems not developer-fliendly enough. Often,
> xdoclet generates nothing without complaints which
> is difficult for me to figure out what the problem
> is. Today when I use xdoclet task of ant to
> aut
I'm so confused with hibernate tags of xdoclet. Who could give an example of
@hibernate tags' usage in many-to-many scenario. For example, table A (id, name)and
Table B(id, name), A maps many-to-many to B with another relation table R(A_id, B_id).
So how do we express this kind of relationship w
On Sat, 2003-08-09 at 01:39, Harkness, David wrote:
> If you specify a transaction-type class-level tag for an entity bean, it
> applies the type to the findByPrimaryKey method. I'd like to have a
> default type of "Mandatory", but I want all finders to have type
> "Supports".
>
> Is there a metho
Hi,
>
> Hello, I am attempting to use XDoclet to generate some javabeans from
> static methods. I am an XDoclet newbie and I am just
> learning the .xdt
> language. How can one capitalize a word in order to
> construct getters and
In the past I had success with
()
Hope that helps
Heiko
how to set manually (not generated from ) class name in
?
thanks
jasiu
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to
> Hi all.
>
> - How can I search through Xdoclet archives? I found
> the archives in sourceforge, but I couldn´t find any
> search tool. I´m pretty sure that the next questions
> had already been answered several times, but I
> couldn´t find them in the archives.
http://gmane.org
> - How do I ge
Hi, David.
I had a second look on your answer, and I think I can formulate my
problem based on
the code proposed by you:
I would like to know why
* @ejb.finder
* signature = "java.util.Collection findPhoneOfUser(UserLocal user)"
* query = "SELECT OBJECT(p) FROM phone p WHERE p.getUser
Thanx!! It works!
Melanie
On 13 Aug 2003, at 23:03, Andrew Stevens wrote:
> On Tue, 2003-08-12 at 14:39, Melanie Roming wrote:
> > I have a question about stateful session beans.
> > I wrote a stateful session bean, and the only
> > differences between this bean and my stateless beans
> > are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
i have some beans with cascaded relations and notice that querying this
valueobjects is very slow.
So my idea is to load the related valueobjects on demand (with a flag like
demand="true") within the valueobject, is this possible (storing a refere
This works for me
You may need to add a classpath to the taskdef if xdoclet is not already
in the ant classapath
I believe the task defaults to looking for "todo". You can change
this by set
Thank you for the reply.
The below runs just fine, but the generated HTML is empty, no todo-tags to
be seen anywhere. Any clues as to why ? What does the
"force="${build.force.docs}" parameter do ? Where is that supposed to point
to ?
And could you give me an example of a comment which you know
On Wed, 2003-08-13 at 14:30, Hansen, Erik wrote:
> Is there a good reason that @jboss.subscriber tags are not documented
> anywhere?
Not that I know of. Please raise an issue
(http://opensource.atlassian.com/projects/xdoclet/) for the JBoss or
Documentation modules, so we don't forget it. Same g
Although this does not seem to be an XDoclet question - it seems more
like an EJB-QL question. . .
Have you tried:
SELECT OBJECT(u) FROM User AS u WHERE u.phone = ?1
You don't use the name of the getter in EJB-QL, you use the name of
field. (Even though the field doesn't exist directly in your
Try running ant with a -debug option.
This might give you a better idea of whats wrong ..
´Þ wrote:
I recently start to use Hibernate+Ant+XDoclet. But xdoclet seems not
developer-fliendly enough. Often, xdoclet generates nothing without
complaints which is difficult for me to figure out what the
Hi, we are developing an unusual applicatoin, basically centered on session
beans which manage database (not entity beans, because the data to be
retrieved are dynamic). To make our application multi-database compliant,
and following a pattern, we defined basically one Session bean for each used
da
Others have already pointed out that yes you can do 1:N relationships
and that you need to tag the Collection and FooLocal accessors. Here's a
sample if you need further assistance.
User (id) <-- 1:N --> Phone (userId)
UserEJB.java___
/**
*
One thing I noticed is that your ActionForm is not a ValidatorForm.
This might be one thing to fix.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> [EMAIL PROTECTED] On Behalf Of James Carman
> Sent: Thursday, August 07, 2003 10:16 AM
> To: [EMAIL PROTECTED]
> Subjec
I think I understand what you're asking, and the answer is "no" --
@ejb.persistence has nothing to do with putting methods into your
remote/local interfaces. It is used to tell the container what column to
map the attribute to. Here's an example:
/**
* @ejb.interface-method
* @ejb.transact
On Sat, 2003-08-09 at 18:13, [EMAIL PROTECTED] wrote:
> I have included the class level tag ejb.dao in my
> source.
>
> * @ejb.dao
> * class="test.dao.ExampleDAO"
> * impl-jndi="dao/testDAO"
> * @ejb.env-entry
> *name="dao/testDAO"
> *type="java.lang.String"
> *value="test.d
1 - 100 of 114 matches
Mail list logo