I fixed it currently by converting custom Java enum instances into enum 
data type fields before passing them into in(..) method:
public Set<Field<VisitorDevice>> getVisitorDevicesAsEnumDataType() {
  return visitorDevices.stream().map(dev -> cast(dev, PostgresDataType.
VARCHAR.asEnumDataType(VisitorDevice.class))).collect(toSet());
}


-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to