Results 1 to 2 of 2

Thread: @RooJpaActiveRecord (Previously @RooEntity) identifierType attribute

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Location
    Montreal, Quebec
    Posts
    398

    Default @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. #2
    Join Date
    Jul 2011
    Posts
    1

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •