This is currently a total WIP. Initial goals
- Get a
Listwiring in via a UserType - Get an
Optionwired in via a UserType - Auto-support
Listthrough registration. - Auto-support
Optionthrough registration.
PersistentList must be one of type vavr List and be of type PersistentCollection
to be supported by hibernate. Currently implementation is super verbose because it must delegate
so many methods. Lombok @Delegate doesn't really help because of it's limitations.
Lombok @Delegate only delegates methods for 1 level of hierarchy and List has at least 4
and implements multiple interfaces.
TypeDescriptor is the mechanism by which hibernate auto-registers it's
type marshalling scheme.
Current test in place fails as planned. Get that to work and we are have something.