BTW Good question: do we need to get the Configuration Serializable? A 
configuration is like a SF. A SF does not really need to be serialized, 
only the Sessions can be moved across a cluster.

Emmanuel Bernard wrote:
>
> Because the configuration can be reused and changed.
> The idea is that my lucene engine (ie hibernate event) needs it.
> This is actually very close to the notion of cache which is part of the
> core.
>
> Max Rydahl Andersen wrote:
> >
> > On Sat, 01 Jul 2006 20:02:46 +0200, Emmanuel Bernard
> > <[EMAIL PROTECTED]> 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
> > [EMAIL PROTECTED]
> > http://hibernate.org
> >
> > JBoss Inc
> > [EMAIL PROTECTED]
> >
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job 
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 
> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
> _______________________________________________
> hibernate-devel mailing list
> hibernate-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hibernate-devel
>


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to