Hi everybody,
I use Guvnor 5.4 and have a model which consists of classes and subclasses.
@Entity
public class TestClass {
@Id
private long id;
@Embedded
private TestEmbeddable embedded;
}
@Embeddable
public class TestEmbeddable implements Comparable<TestEmbeddable> {
@Column
private String testProperty;
@Override
public int compareTo(TestEmbeddable o) {...}
}
Now, in Guvnor I use the guided Editor and create a new WHEN condition:
There is a TestClass with:
embedded ...
Usually, when I click on "embedded", I can select
Apply a constraint to a sub-field of 'embedded': Show sub fields ...
This line does NOT show if that subclass (here: TestEmbeddable) implements Comparable. It
does however work if I don't use Comparable or if I select TestEmbeddable directly
(which I can't as I don't inject those into my working environment).
Is this a known bug? I couldn't find anything about this.
TIA
Dominik
...........................................................................
mit freundlichen Gr??en / kind regards
Dominik Sandjaja
Fon: +49 (0) 203 60878 183
Fax: +49 (0) 203 60878 222
e-mail: dominik.sandjaja(a)it-motive.de
it-motive AG
Zum Walkm?ller 10-12
47269 Duisburg
info(a)it-motive.de
http://www.it-motive.de
..............................................................................
Vorsitzender des Aufsichtsrats: Dipl.-Ing. Klaus Straub
Vorstand: Horst-Dieter Deelmann (Vors.), Matthias Heming, Christoph Tim Klose
HRB 9207, Amtsgericht Duisburg