Just to make things clear, I wanted to say that you can extract
hibernate.cfg.xml so that you can use this for both rhnio and castle.

XmlConfigurationBuilder can read an hibernate.cfg.xml and return NHibernate
Configuration. It takes the castle configuration as an input.
<something configurationBuilder="XmlConfigurationBuilder">
    whatever you have here will be passed as a parameter.
</something>

Tuna Toksöz
Eternal sunshine of the open source mind.

http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike




On Fri, Aug 28, 2009 at 7:03 PM, DannyT <[email protected]> wrote:

> Tuna,
>
> Thanks, we're exploring this, forgive this simple sounding question but
> where do I get an instance of
>
> IConfiguration config
>
> To pass to my XmlConfigurationBuilder?
>
> We're trying to implement our own IConfigurationBuilder that will wrap
> XmlConfigurationBuilder and also register mappings and generate the schema.
>
> When using hibernate.cfg.xml where can I get the IConfiguration from to
> pass to XmlConfiguration Builder.GetConfiguration(IConfiguration config)?
>
> Any links or docs you can provide would be great, I know this is probably
> obvious stuff but there is quite a lot of information spread all over when
> it comes to NH related info.
>
> Thanks,
> Dan
>
>
> 2009/8/27 Tuna Toksoz <[email protected]>
>
>> if there isn't any way for rhino, there is a way for castle. take a look
>> at XmlConfigurationBuilder, it configures the factory from the cfg.xml file
>> you provide.
>>
>> Tuna Toksöz
>> Eternal sunshine of the open source mind.
>>
>> http://devlicio.us/blogs/tuna_toksoz
>> http://tunatoksoz.com
>> http://twitter.com/tehlike
>>
>>
>>
>>
>>
>> On Thu, Aug 27, 2009 at 7:35 PM, DannyT <[email protected]> wrote:
>>
>>>
>>> Apologies if this isn't the right place for this couldn't find
>>> anywhere more appropriate.
>>>
>>> Is it possible to use Rhino.Security without using an
>>> hibernate.cfg.xml file?
>>> We're using the castle integration facility which contains the
>>> configuration so we don't have the cfg.xml file.
>>>
>>> cheers,
>>> Dan
>>>
>>>
>>>
>>
>>
>>
>
>
> --
> http://danny-t.co.uk
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" 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/rhino-tools-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to