Announcement Announcement Module
Collapse
No announcement yet.
@RooJpaActiveRecord (Previously @RooEntity) identifierType attribute Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • @RooJpaActiveRecord (Previously @RooEntity) identifierType attribute

    This is something that's been nagging me for a while, but it doesn't seem to have any negative effects. I had this problem before Roo 1.2 when using @RooEntity and I'm still seeing it with @RooJpaActiveRecord. If I specify the identifierType=ComponentPk.class for example, Eclipse puts a type mismatch marker on that line of code saying "cannot convert from Class<ComponentPk> to Class<? extends Serializable>".

    I'm just wondering why it's doing this. If I change my ComponentPk class to extend Serializable, the error doesn't go away.

  • #2
    I have same problem when using Intellij/roo 1.2.3. Is this a roo bug?

    Comment

    Working...
    X