Hi all,
Is there any way to override the default (property name) prefix for an embedded class when using DefaultComponentSafeNamingStrategy? It is clear that DefaultComponentSafeNamingStrategy is a huge advantage when compared to EJB3NamingStrategy but still it may give huge column identifiers. I see that a possible workaround is to have properties accessed directly from the field, define a short field name and have the usual property name on getter and setter but this seems an ugly hack. I tried using AttributeOverrides, @Column and even @AssociationOverride to replace the property prefix but with no success. Does anyone know if there is any solution for this?
kind regards,
_________________ Rafael Ribeiro
|