[EMAIL PROTECTED] wrote:
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-
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
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
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