CMR field insertion

Hi,

I create an Entity Bean using IDEA. Now, How do i insert an CMR field
inside the entity bean. In the EJB window, there are options to create an
CMP field but not CMR.

Am i missing something ??

Lakshman



3 comments
Comment actions Permalink

You should create at least two CMP 2.x entity beans with local interfaces in
one group.
Then Create EJB Relationship option will appear

--
regards,
Alexey Kudravtsev.
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"


"Lakshman" <nslax@hotmail.com> wrote in message
news:aglhkr$3li$1@is.intellij.net...

Hi,

>

I create an Entity Bean using IDEA. Now, How do i insert an CMR field
inside the entity bean. In the EJB window, there are options to create an
CMP field but not CMR.

>

Am i missing something ??

>

Lakshman

>
>
>


0
Comment actions Permalink

I haven't tried this using Idea, but what happens if you want to make a
self-referencing relationship? (ie, a relationship back to the same bean?).
You should in theory be able to do that even with just a single EJB.


"Alexey Kudravtsev" <cdr@intellij.com> wrote in message
news:agma37$lqi$1@is.intellij.net...

You should create at least two CMP 2.x entity beans with local interfaces

in

one group.
Then Create EJB Relationship option will appear

>

--
regards,
Alexey Kudravtsev.
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

>
>

"Lakshman" <nslax@hotmail.com> wrote in message
news:aglhkr$3li$1@is.intellij.net...

Hi,

>

I create an Entity Bean using IDEA. Now, How do i insert an CMR field
inside the entity bean. In the EJB window, there are options to create

an

CMP field but not CMR.

>

Am i missing something ??

>

Lakshman



0
Comment actions Permalink

Hello Chris,
You are right, self relationships will be supported since #637
--
regards,
Alexey Kudravtsev.
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"


"Chris Miller" <chris_overseas@hotmail.c0m> wrote in message
news:ah5v1n$bie$1@is.intellij.net...

I haven't tried this using Idea, but what happens if you want to make a
self-referencing relationship? (ie, a relationship back to the same

bean?).

You should in theory be able to do that even with just a single EJB.

>
>

"Alexey Kudravtsev" <cdr@intellij.com> wrote in message
news:agma37$lqi$1@is.intellij.net...

You should create at least two CMP 2.x entity beans with local

interfaces

in

one group.
Then Create EJB Relationship option will appear

>

--
regards,
Alexey Kudravtsev.
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

>
>

"Lakshman" <nslax@hotmail.com> wrote in message
news:aglhkr$3li$1@is.intellij.net...

Hi,

>

I create an Entity Bean using IDEA. Now, How do i insert an CMR field
inside the entity bean. In the EJB window, there are options to

create

an

CMP field but not CMR.

>

Am i missing something ??

>

Lakshman

>
>


0

Please sign in to leave a comment.