aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/NHibernateManager.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-141-7/+7
| | | | | | | | | | | | | | | | | | | * Created value object for EstateRegionLink for storing the estate region relationship. * Refactored slightly NHibernateManager and NHibernateXXXXData implementations for accesing nhibernate generated ID on insert. ** Changed NHibernateManager.Save method name to Insert as it does Insert. ** Changed NHibernateManager.Save return value object as ID can be both UUID and uint currently. ** Changed NHibernateManager.Load method Id parameter to object as it can be both UUID and uint. * Created NHibernateEstateData implementation. This is the actual estate storage. * Created NHibernate mapping files for both EstateSettings and EstateRegionLink * Created MigrationSyntaxDifferences.txt files to write notes about differences in migration scripts between different databases. * Created estate storage migration scripts for all four databases. * Created estate unit test classes for all four databases. * Updated one missing field to BasicEstateTest.cs * Tested NHibernate unit tests with NUnit GUI. Asset databases fail but that is not related to this patch. * Tested build with both Visual Studio and nant. * Executed build tests with nant succesfully.
* * optimized usings.lbsa712009-02-121-3/+3
|
* Applied patch from #3012 Fixing a minor bug where nhibernate mappings from ↵Adam Johnson2009-01-251-9/+9
| | | | outside OpenSim.Data.NHibernate assembly were not included in sessionFactory. Thanks mpallari!
* * Apply http://opensimulator.org/mantis/view.php?id=3020Justin Clarke Casey2009-01-201-2/+2
| | | | | | * Adds a grid db implementation and unit tests to the NHibernate module
* * Apply http://opensimulator.org/mantis/view.php?id=3012Justin Clarke Casey2009-01-201-10/+49
| | | | | | | * Allows different assemblies to be used in NHibernateManager, which makes it possible to use mapping and migration files in different assemblies. * Thanks mpallari!
* Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke2009-01-101-45/+73
| | | | | | | | | | | | NHibernate MySQL migration was not working as mysql dialect is MySQL5Dialect now instead of MySQLDialect which is the migration sub folder name. Fixed this by adding simple dialect to migration sub type mapping to manager initialization to avoid need of renaming migration script folder each time MySQL version changes. Removed shared session and changed session to be constructed per call as NHibernate session is not thread safe. Refactored manager member names to be according to the naming convention (full words in camel case).
* fixes mantis #2950Justin Clarke Casey2009-01-051-0/+6
|
* * Check in another patch from http://opensimulator.org/mantis/view.php?id=2710Justin Clarke Casey2008-12-041-6/+0
| | | | | | | * This allows removal of the old NHiberate.Mapping.Attributes.dll * Also add in the files I forgot about last time. Doh!
* * Reapply http://opensimulator.org/mantis/view.php?id=2710Justin Clarke Casey2008-12-021-18/+124
| | | | | | | | | * This patch gets NHibernate working *** PLEASE NOTE: This patch now requires the libmono-oracle2.0-cil library to be installed on Ubuntu (to stop the System.Data.Oracle missing failure) *** * Not sure what the dependency is on other distros. Adding this info to http://opensimulator.org/wiki/Build_Instructions would be most welcome * Adds Castle.* libraries that were missing last time (note, dlls have been added from http://downloads.sourceforge.net/nhibernate/NHibernate-2.0.1.GA-bin.zip)
* * Unforunately it turns out not to be that simple. Revert the rest of r7560 ↵Justin Clarke Casey2008-12-011-124/+18
| | | | for now.
* * From Mantis#2701 - Implements NHibernate data adapter, adds support for ↵Adam Frisby2008-12-011-18/+124
| | | | | | | MsSql2005 to NHibernate. * Patch courtesy of Adminotech and realXtend. Thanks!
* Formatting cleanup.Jeff Ames2008-08-181-1/+1
|
* last round of warning squashing. calling it a day now.Dr Scofield2008-06-271-4/+4
|
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-6/+3
| | | | (this took a while to run).
* point in time update of NHibernate Asset Mapping codeSean Dague2008-04-031-10/+10
|
* starting to stub out NHibernate data source. This isn't in Sean Dague2008-04-021-0/+62
prebuild yet so it's currently dead code in tree, and shouldn't bother anyone. Once this does *something* I'll add it into the main build. However it seemed like a good idea to commit work as I go for people interested in it.