Yes, that should solve the problem. I've to analyze it, and maybe present a patch then you all can see if it's worth for an small feature (the default one).
The other alternative, allowing the dialect first choise regarding the type, I think it's kind of no-viable, there are a lot of places where the Type is asked where the dialect it's not available, and doing the changes to support this, spaguetti code maybe. On Sat, Mar 14, 2009 at 12:58 PM, Ayende Rahien <[email protected]> wrote: > Then we probably need to move this to session factory level instead.That > would solve the problem, no? > I am not sure what the implications would be from the code perspective. > The other alternative is to allow the dialect first choice regarding the > type, but again, not sure about what it would look like from the code. > > > On Sat, Mar 14, 2009 at 4:51 PM, Dario Quintana < > [email protected]> wrote: > >> it's all static >> >> On Sat, Mar 14, 2009 at 12:49 PM, Ayende Rahien <[email protected]>wrote: >> >>> Isn't TypeFactory unique per session factory? Or is it totally global? >>> >>> >>> On Sat, Mar 14, 2009 at 4:45 PM, Dario Quintana < >>> [email protected]> wrote: >>> >>>> But if I'm working with an Sql2000 and Sql2008, I register with the >>>> Sql2008 changing what is Default: DateTime2, then the Sql2000 want >>>> configure >>>> they SessionFactory, will fail see the DateTime2 as a Default-type. >>>> >>>> On Sat, Mar 14, 2009 at 12:41 PM, Ayende Rahien <[email protected]>wrote: >>>> >>>>> make the type factory types copy on write, and lock during writes? >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Dario Quintana >>>> http://darioquintana.com.ar >>>> >>> >>> >> >> >> -- >> Dario Quintana >> http://darioquintana.com.ar >> > > -- Dario Quintana http://darioquintana.com.ar
