Hi, I need to implement a new mapping strategy whereby the properties of a class are stored in a so-called entity-attribute-value table structure. This structure can be mapped explicitly in hibernate to, but this results in more complex hql querying and also different hql querying from types which are stored in a traditional table structure. So I would prefer a different approach. After some study my conclusion is that a custom EntityPersister is the way to go. Is this indeed a correct direction? However, the Hibernate EntityPersister implementations are complex (as they must do many things ofcourse...). Are there other examples of custom EntityPersister implementations?
Thanks for any help/pointers on this!
gr. Martin
|