Hi everyone, its my first time here and i have a problem while learning Hibernate:
My Class Article (not the full class though):
Code:
public Article() {
private BooleanProperty en = new SimpleBooleanProperty(false);
//getter Methode:
public boolean isEn(){
return en.get();
}
public BooleanProperty enProperty(){
return en;
}
public void setEn(boolean en){
this.en.set(en);
}
}
my mapping XML :
Quote:
<property column="b_english_version" name="en" type="javafx.beans.property.BooleanProperty"/>
And i get this problem :
Quote:
MappingException : Could not determine type for: javafx.beans.property.BooleanProperty, at table t_fit_article, for columns: ... b_english_version]
but when i Change the type to
boolean then its no longer wrong.
Can someone explain why ? Thanks in advance !