From: Max R. A. <max...@jb...> - 2006-07-01 20:10:14
|
On Sat, 01 Jul 2006 20:02:46 +0200, Emmanuel Bernard <emm...@hi...> wrote: > For the Lucene integration I need to keep track of the DirectoryProvider > associated to a given entity. > Basically DirectoryProvider are shared across several entities. > I might also need to keep track of some informations on a per SF basis. > > Currently there is no good way to do it. > It might make sense to have some sort of copy of metaAttributes between > PersistentClass and EntityPersister. > > WDYT? metaAttributes were not moved in to the core "compiled" model because the core persistence engine does not need them. AFAIK it still does not need them, so why not build some external "data repository" or simply keep the Configuration (maybe a serialized clone) around for these special cases ? -- -- Max Rydahl Andersen callto://max.rydahl.andersen Hibernate ma...@hi... http://hibernate.org JBoss Inc max...@jb... |