Could you define converters that are auto-applied (@Converter(autoApply=true) on the definition of converters, not attributes using them)? That has the advantage that you could provide them in a Ceylon/ORM integration module which is thrown into the mix when using Hibernate ORM with Ceylon. Java EE and Spring should consider @Converter types during their scanning. Some config may be needed only to enable that integration module for scanning. |