I’m looking way to bind Type
for specific entity fields during entity manager configuration phase. I need it to be able to apply extra “rules” to target entity field using external source without updating model class itself.
So basically I’m trying to avoid hardcode @Type
annotation way as below:
@Type(type = foo.package.MyType, parameters = {
@Parameter(name = "fooProperty", value = "fooValue")
})
private String someField;
Instead I would like to set Type for someField
during entity manager configuration programmatically.