Ups.... are you sure ?I have implemented it few days ago.... wait....
Ah... its ok the xsd has
<xs:enumeration value="cache.default_expiration" />

So all should work in NH2.1.0


2009/6/8 jr76 <[email protected]>

>
> Thanks Fabio.  I guess there are no zipped sources but I was able to
> download via SVN.
>
> Now looking at the source for SysCache, I see that it uses the
> constant Environment.CacheDefaultExpiration to look for the default
> cache expiration setting, and this property maps to
> "cache.default_expiration".  However, the hibernate-configuration
> schema does not seem to support this value, as it throws
> HibernateConfigException:
>
> "An exception occurred parsing configuration :The 'name' attribute is
> invalid - The value 'cache.default_expiration' is invalid according to
> its datatype 'String' - The Enumeration constraint failed."
>
> Is this a bug in the schema definition?
>
> j
>
> On Jun 8, 12:27 pm, Fabio Maulo <[email protected]> wrote:
> > http://nhforge.org/blogs/nhibernate/archive/2009/06/07/nhibernate-cac...
> > In the same place where you download the assembly you can find the
> project
> > sources.http://sourceforge.net/projects/nhcontrib/
> >
> > 2009/6/8 jr76 <[email protected]>
> >
> >
> >
> > > I am having trouble finding any documentation about configuring
> > > SysCache as of NH2, as the old 1.2 configuration no longer seems to
> > > work.  I'd also like to obtain the SysCache source code but I can't
> > > seem to find any links to it anywhere.  It seems like this kind of
> > > thing ought to be easy to find.  If someone can send me the info I'll
> > > make sure to post it on the wiki.
> >
> > > j
> >
> > --
> > Fabio Maulo
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to