[Opensim-dev] Object Representation

Sean Dague sean at dague.net
Sat Feb 9 21:36:14 UTC 2008


On Sat, Feb 09, 2008 at 05:20:54PM +0100, Stefan Andersson wrote:
> I'm a bit worried that nhibernate or another generic mapper solution
> will prove too coarse grained for a specialized and optimized storage
> strategy.
>  
> For example, is it possible to specify that you want to store just a
> number of fields, not all fields and not cascading updates?
>  
> Please alleviate fear?

Yes, that's all possible with nhibernate.  Basically you create an xml
definition which says "this field is that column".  You don't need to
map all fields, and you have a lot of control over the update paths.

All my research on nhibernate showed it was the right way forward, I
just never quite got over the hump to get it pulled together.  Impalah's
done some great work in that regard.

Right now we're a bit constrained on supporting a bunch of new
persistent bits that are unrelated to the prims themselves, because
getting data persisted across all our backends requires a lot of work.
++ on getting nhibernate in there to help with that.

There are a lot of other clever things one might do with prims instead
of RDBMS back end, but I think we're a bit premature to start heading
down that road at this point.

    -Sean

-- 
__________________________________________________________________

Sean Dague                                       Mid-Hudson Valley
sean at dague dot net                            Linux Users Group
http://dague.net                                 http://mhvlug.org

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080209/2225106d/attachment-0001.pgp>


More information about the Opensim-dev mailing list