Just curious, Can this be possible?
@MappedSuperClass Interface A { @Formula (... ) boolean isTrue; }
@Entity @Table("B") Class B implements A { @Id private long id; }
Would class B, inherit the Formula defined over its Interface (A) ?
I have a very typical requirement, where-in I want to define certain capabilities for the system by Interfaces and defining the appropriate Formula's, and only when the sub-classes implement those Interfaces,
they should get the Formula....
I see some requirements which can make use of this feature quite flexibly.
Thanks,
-Benny
|