jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Harrison <peter.harri...@team.orcon.net.nz>
Subject OCM - Inheriting @Field annotations
Date Thu, 29 May 2014 22:45:23 GMT
I have a model which I am persisting into JackRabbit using OCM. To date 
it has been pretty flat - a simple bean, but I noticed that there were 
several fields that were in common between various model classes so I 
pulled those up into a parent.

Problem is that it doesn't appear that the @Field annotations on the 
parent are found, and so they are not being set. I modified the OCM code 
to add the @Inherited annotation to field, but this appears not to have 
helped.

Does anyone know of a work around for this?


Mime
View raw message