I have a question about custom persisters. I have to write a custom persister to support tables where records are not deleted but marked as cancelled. Hibernate documentation gives not enough info about custom persisters, only a bare javadoc page about the AbstractEntityPersister class and one-two code fragments. The only "complete" documentation that I found is the source code of the EntityPersister class.
Anyway, my question is: which is the probability that in a near future the interface of the AbstractEntityPersister class will be changed? The reason for this question is that for me AbstractEntityPersister has a complex interface that seems to be an internal interface, even it is declared pubblic. I think I can say that it isn't a interface to customize the behavior of the persistence mechanism blackbox of hibernate. My fear is that in the future a change inside Hibernate will broke the compatibility of the AbstractEntityPersister with my custom persister. Is this fear justified?
FDG
|