ComboBox with a JPAContainer

Hi

I have a ComboBox showing entities sourced from a JPAContainer. This ComboBox was built using a FieldGroup buildAndBind method and is bound to a BeanItem instance. Now when I change the value of the ComboBox, I get a com.vaadin.data.util.converter.Converter$ConversionException: Unable to convert value of type java.lang.Long to model type class com.example.Supplier. No converter is set and the types are not compatible. I understand the concept of model values vs. presentation values: here the ComboBox triggers a ValueChangeEvent with the Long id value of the Supplier instance. But do I really need to implement a custom converter in this case? There must be a more straightforward way to say that I need the Supplier instance and not the container index.

?

Check SingleSelectConverter (
https://vaadin.com/forum/#!/thread/2729098
and
https://dev.vaadin.com/svn/addons/JPAContainer/trunk/jpacontainer-addon/src/main/java/com/vaadin/addon/jpacontainer/fieldfactory/SingleSelectConverter.java
)

Anyone with a less boilerplate solution?