make the type factory types copy on write, and lock during writes?

On Sat, Mar 14, 2009 at 4:38 PM, Dario Quintana <
[email protected]> wrote:

> Ok, the desicion is made, now the problem is the implementation. Looks to
> be easy, but to me it's not.
>
> - One solution is to add some clause in the dialect and then ask the
> TypeFactory to see if the dialect has support for DateTime2 (nobody do it
> except sql2008), but it's too complicate it to make the TypeFactory to be
> "dialect-aware".
>
> Other solution is too see the solution from another angle: RegisterType
> (into TypeFactory) should be public...then we can call it from the Dialect
> and do whatever we want with the types into the dictionary. But with this I
> see threading issues, i.e. with configuring NH with multi-rdbms.
>
> So, if somebody see the light (without past-away) and see a nice-clever
> solution, tell us.
>
>
> On Wed, Mar 11, 2009 at 3:53 PM, Fabio Maulo <[email protected]> wrote:
>
>> 2009/3/11 Tuna Toksoz <[email protected]>
>>
>>> I don't think he will even notice.
>>>
>>
>> Well... we must do the right thing... then RTFM will be the answer for the
>> first question in the user list.
>> --
>> Fabio Maulo
>>
>
>
>
> --
> Dario Quintana
> http://darioquintana.com.ar
>

Reply via email to