Jan 3rd, 2012, 01:02 PM
@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.
Jan 8th, 2013, 09:05 PM
I have same problem when using Intellij/roo 1.2.3. Is this a roo bug?