Hello:
I presume that it's a Eclipse Indigo bug, but since I'm using STS 2.9.2.RELEASE (Eclipse 3.7.2), I post my problem in this forum.
In a Roo project I've manually created an interface:
Then I've created an entity, that will be the base for a hierarchy, and I've changed it in order to implement the previous interface:Code://package ...core; public interface Transaccion extends Serializable {}
entity jpa --class ~.core.padre.Padre --abstract --identifierColumn c_id --table t_padre --inheritanceType SINGLE_TABLEThe first child entity was created without a problem:Code://package ...core.padre; @RooJavaBean @RooToString @RooJpaActiveRecord(identifierColumn = "c_id", inheritanceType = "SINGLE_TABLE", table = "t_padre") public abstract class Padre implements Transaccion { }
entity jpa --class ~.core.hijo.Hijo --extends ~.core.padre.Padre --testAutomaticallyBut it has a compilation error message ONLY in the java file (there is no other error messages, not in the Package explorer nor in the Problems view):Code://package ...core.hijo; @RooJavaBean @RooToString @RooJpaActiveRecord public class Hijo extends Padre { }
Can anyone help me with this issue?The hierarchy of the type Hijo is inconsistent
NOTE : if the interface doesn't extend Serializable, the error disappears.


Reply With Quote