I see the problem in the FNH code.  I'll update that.  To work around it for
now, specify the StatementCacheSize(int) fluent method on your connection
string.
Odd no one has ever ran into that.  Whoops.

-dl

On Tue, Aug 11, 2009 at 9:13 PM, ssp <sar...@gmail.com> wrote:

>
> I am trying to connect to an oracle 10g database with the following
> configuration. For some reason I keep getting the:
>
> "Keyword not supported: 'statement cache size'." exception. Any ideas?
>
> The code below contains the configuration code.
> ==============================================
> return Fluently.Configure()
>                .Database( OracleClientConfiguration.Oracle9
>                 .ConnectionString( c => c
>                     .Server( "XXX" )
>                     .Instance( "XXXUser" )
>                     .Username( "XXXUser" )
>                     .Password( "XXXUser" ))
>                 .Cache( c => c
>                     .UseQueryCache()
>                     .ProviderClass<NHibernate.Cache.HashtableCacheProvider>
> () )
>                 .ShowSql() )
>                .Mappings( m =>
> m.FluentMappings.AddFromAssemblyOf<Category>() )
>                .BuildSessionFactory();
> ===============================================
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to