Woohoo - fixed it!!!!
Kinda

I solved my problem by switching to Toplink11g.
By adding the 2 new annotations TypeConverter and Convert, my application now works.

@TypeConverter( name = "money", dataType = PGobject.class, objectType = Money.class ) @Convert("money")

@Column(name = "price", unique = false, nullable = true, insertable = true, updatable = true)
   private Money price;

Now if somebody could help me out by explaining how to do the same thing in OpenJPA, that would really make my day.

very best wishes
Roy

In case anybody's wondering, it seems that the PostgreSQL JDBC driver doesn't support the standard SQLData Interface so one has to use PGobject instead.



Reply via email to