[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-
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
-
that I know of.
You have to tag the methods yourself.
David Harkness
Sony Pictures Digital Networks
(310) 482-4756
-----Original Message-
From: Jean-philippe VIGNIEL [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 5:50 AM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] Add relation or persi
Ticket Entity bean was a
seperate class.
-Original Message-
From: Jean-philippe VIGNIEL [mailto:[EMAIL PROTECTED]]
Sent: Wed 13/08/2003 08:01
To: [EMAIL PROTECTED]
Cc:
Subject: Re: [Xdoclet-user] What's the need of @ejb.ejb-ref
Is your Ticket Entity bean a member of OrderTicket? What
s 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: Tue 12/08/2003 14:19
To: [EMAIL PROTECTED]
Cc:
Subject:[Xdoclet-user] W
[EMAIL PROTECTED] wrote:
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 t
Another question
I read that there is a class tag called @ejb.ejb-ref which defines a
reference between two EJBs.
Shall we use it if a member of an ejb is another EJB?
Could we have some problems by having a simple reference between two EJB
like the following code.
ClassBean extends SessionBea
ficult to manage.
[EMAIL PROTECTED] wrote:
If the name is defined as a PK I think you shouldn't have any problem...
On Tue, 2003-07-29 at 03:46, Jean-philippe VIGNIEL wrote:
What appens if two persons create the same obje
?exception after the call (at the end of the transaction
i guess) of the create function which can be difficult to manage.
[EMAIL PROTECTED] wrote:
If the name is defined as a PK I think you shouldn't have any problem...
On Tue, 2003-07-29 at 03:46, Jean-philippe VIGNIEL wr
AIL PROTECTED] wrote:
If the name is defined as a PK I think you shouldn't have any problem...
On Tue, 2003-07-29 at 03:46, Jean-philippe VIGNIEL wrote:
What appens if two persons create the same object at the same time. With
the default transaction mode, i think (but i can be wrong
(user) FROM User As user WHERE user.id=?1
OR user.email=?2"
On Mon, 2003-07-28 at 07:16, Jean-philippe VIGNIEL wrote:
Hi everybody
I have to check that a name is unique before creating or updating this
object. How can i do that without using a database constraint and
without co
Hi everybody
I have to check that a name is unique before creating or updating this
object. How can i do that without using a database constraint and
without concurrency problem?
The jboss pk-constraint tag set the constaints on the database, is there
something to do the same thing managed by t
Mensaje citado por Jean-philippe VIGNIEL <[EMAIL PROTECTED]>:
1-n relation:
/** @ejb.relation
* name = "Source-Target"
* role-name = "Source"
*
* target-ejb = "Target"
attribute would be used for each of the
variations of relationships please?
---
Thanks...
Mick Knutson
---
From: Jean-philippe VIGNIEL <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] Pb with *:1 relationship (Thanks)
Date: Fri,
Thanks very much for your help. Your solution is not very intuitive but It
works:)
To resume the thread for the next person who needs for a n-1 relation.:
1-1 relation:
/** @ejb.relation
* name = "Source-Target"
* role-name = "Source"
*
* target-ejb = "T
, 2003-07-17 at 13:27, Jean-philippe VIGNIEL wrote:
Hi everybody
I have to manage a n:1 relation ship between two entities, is it
possible to generate the suitable ejb-jar by using the xdoclet
ejb.relation tag?
I've succeeded to specify a one to one relation but the only
Hi everybody
I have to manage a n:1 relation ship between two entities, is it
possible to generate the suitable ejb-jar by using the xdoclet
ejb.relation tag?
I've succeeded to specify a one to one relation but the only way i
found to have a n to 1 relation was to set by hand the source
tag
17 matches
Mail list logo