Hi Idan, Anything is possible... :-) OpenJPA provides its own custom annotations in addition to the annotations defined by the JPA specification. I would suggest looking at one of these custom annotations and walking through the associated code to understand what type of processing would be required for the updates you want to tackle.
Look in the org.apache.openjpa.persistence package. Maybe the @DataCache annotation or the @Generator custom annotations would be a good place to start. We don't really have any documentation for writing custom annotations, but it can be done. FYI, as you continue with this type of activity, it might be good to move the conversation to the dev mailing list since your questions might become a bit more detailed on the internals of OpenJPA (vs usage). Good luck! Kevin On Tue, Oct 12, 2010 at 5:57 AM, idan <[email protected]> wrote: > > Heya, > > I'd like to add my own custom annotations to openjpa and control the create > table statement according to the new annotations i wish to add. > > Is that possible to do? > > Thanks, > Idan > > > > -- > View this message in context: > http://openjpa.208410.n2.nabble.com/OpenJPA-custom-annotations-tp5626217p5626217.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. >
