I think I might have found the spot. The BasicMetadataGenerator#buildProperty(..) calls ColumnContainer#addColumnsFromValue(..), which calls Column.from(..). And within this copy-function, the sql type gets lost. This looks like a fundamental error, because envers' Column class is not able to map a clob type at all. |