#634 prim-key-class not updated

If you remove and add a primary key CMP field with another type,
the prim-key-class element is not updated
(ejb-jar.xml -> ejb-jar -> enterprise-beans -> entity).


Timur Zambalayev



2 comments
Comment actions Permalink

Hello Timur,
Thank you for report, corresponding feature is planned for implemenation

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


"Timur Zambalayev" <invalid@invalid.com> wrote in message
news:agi2ik$ifs$1@is.intellij.net...

If you remove and add a primary key CMP field with another type,
the prim-key-class element is not updated
(ejb-jar.xml -> ejb-jar -> enterprise-beans -> entity).

>
>

Timur Zambalayev

>
>
>


0
Comment actions Permalink

I also noticed that when you remove and add a primary key CMP field with another type,
the findByPrimaryKey(YourPrimaryKeyClass key) method signature in the home interface
is not updated with the new primary key class and IDEA doesn't show it (that you have wrong
primary key class) as an error in the home interface.


"Timur Zambalayev" <invalid@invalid.com> wrote in message news:agi2ik$ifs$1@is.intellij.net...

If you remove and add a primary key CMP field with another type,
the prim-key-class element is not updated
(ejb-jar.xml -> ejb-jar -> enterprise-beans -> entity).

>
>

Timur Zambalayev

>
>
>


0

Please sign in to leave a comment.