Hallo,
I'm working on an application which uses Hibernate and JavaFX. To make use of the advantages of JavaFX Binding, I would like to use JavaFX Properties (javafx.beans.property). Unfortunately it looks like Hibernate doesn't support these yet. What I would like to do:
Code:
private ObjectProperty<BigDecimal> stockValue;
@Basic
public BigDecimal getStockValue() {
return stockValue.get();
}
public void setStockValue(BigDecimal stockValue) {
this.stockValue.set(stockValue);
}
So my question: Am I doing something wrong? Will Hibernate support javafx.beans.property objects in future releases? Is there a better way to use JavaFX together with Hibernate?
thx