aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Applied a patch that: Added estate ban table to migration scripts and ↵lbsa712009-02-215-0/+50
| | | | | | | | | | | | | | nhibernate mapping. Refactored property getters and setters for estate ban object to support NHibernate. * Added estate ban table to migration scripts of all supported databases. * Added nhibernate mapping for EstateBans property of EstateSettings * Refactored property accessors for EstateBan object. * Added comments for EstateBan properties. * Ensured that NHibernate tests pass with NUnitGUI. * Ensured that nant test target passes. This fixes mantis #3210. Thank you, tlaukkan!
* * Apply http://opensimulator.org/mantis/view.php?id=3185idb2009-02-205-0/+5
| | | | | | * Fixes NHibernate problem where prim contents show as textures * Thanks Tommil!
* * Apply http://opensimulator.org/mantis/view.php?id=3195Justin Clarke Casey2009-02-2030-30/+73
| | | | | | | * Access NHibernate Manager as read-only property rather than public field * Thanks Tommil
* Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames2009-02-201-0/+27
|
* * Apply http://opensimulator.org/mantis/view.php?id=3151Justin Clarke Casey2009-02-1911-28/+25
| | | | | | | * Fixes NHibernate overflow exception when saving some objects (under at least PostgreSQL 8.3) * Thanks Tommil!
* - remove the Metadata property from AssetBase and return all previousMike Mazur2009-02-172-13/+11
| | | | | | | | | properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
* * Apply http://opensimulator.org/mantis/view.php?id=3166Justin Clarke Casey2009-02-1612-62/+280
| | | | | | | * Adds estate access list supports to NHibernate data module * Thanks Tommil
* line ending fixes and set native eol propertySean Dague2009-02-1613-742/+742
|
* - remove dependency on OpenSim.Grid.AssetServer.Plugins.Opensim inMike Mazur2009-02-161-1/+0
| | | | | | | | OpenSim.Data.*.addin.xml, this is cruft left over from previous testing - fix example SQLite connection string in AssetInventoryServer.ini.example
* - add OpenSim.Grid.AssetServer.Plugins.OpenSim as a dependency for ↵Mike Mazur2009-02-161-0/+1
| | | | | | | | OpenSim.Data.*.addin.xml - remove OpenSim.Grid.NewAssetServer.exe from bin/OpenSim.Data.addin.xml - add prebuild.xml section for OpenSim.Grid.AssetServer.Plugins.OpenSim.dll
* Mantis 3164. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-141-1/+1
| | | | | | | | | * Added tests for manager, user and group lists. * Added test for ban list. The test had to be left as ignored as native MySQL throws exception when ban is saved. * Added utility class to support parametrized unit tests for range checking.
* Remove the "?" that I inadvertently got into the first line Charles Krinke2009-02-141-1/+1
| | | | | of EstateRegionLink.cs
* Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-1419-57/+800
| | | | | | | | | | | | | | | | | | | * 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.
* Remove extra ID field from asset DB mapping. Mantis #3122, fixes Mantis #3080.Mike Mazur2009-02-135-5/+0
|
* * optimized usings.lbsa712009-02-1237-205/+40
|
* Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-095-1/+6
| | | | | | * Updated migration scripts and hbm.xml so that nhibernate tests work.
* * Apply http://opensimulator.org/mantis/view.php?id=3080Justin Clarke Casey2009-02-091-5/+7
| | | | | | | * Changes the NHibernate asset mapping and expose FullID on AssetBase for NHibernate * mikem has seen this patch :)
* * Apply http://opensimulator.org/mantis/view.php?id=3094Justin Clarke Casey2009-02-095-0/+409
| | | | | | | * Add NHibernate PostgreSQL database tests. * Tests not yet being run as the PostgreSQL module is not yet fully functional
* * Fixing refactoring +1 (Fixes Mantis #3113)Sean Dague2009-02-091-1/+1
| | | | | From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* fixing refactoring artefact. (fixes mantis #3113)Dr Scofield2009-02-091-1/+1
|
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-0616-18/+18
| | | | | | | | | | | | | | | | | | | | OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-041-3/+3
| | | | | - trim trailing whitespace
* 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!
* Update svn properties.Jeff Ames2009-01-245-357/+357
|
* Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-01-237-0/+360
| | | | | | | | | | | | | * Added Npgsql.dll and Mono.Security.dll which are NpgsqlDriver dlls. * Added missing field to schema creation scripts: PathTaperY. * Added schema creation scripts for PostgreSQL. * Added unit test classes for PostgreSQL. * Added schema creation script folder to NHibernate project in prebuild.xml * Added Npgsql.dll to NHibernate test project dependencies in prebuild.xml * Ensured that build works with both nant and Visual Studio. * Executed build unit tests with nant and NHibernate unit tests with NUnitGUI - Couple of region tests fail due to double precission float rounding errors need to sort out how these are handles in unit tests and if higher precission numeric field needs to be used in Postgresql.
* Update svn properties, minor formatting cleanup.Jeff Ames2009-01-221-1/+1
|
* * Apply http://opensimulator.org/mantis/view.php?id=3021Justin Clarke Casey2009-01-205-0/+416
| | | | | | | * Adds MSSQL 2005 unit tests * Thanks Tommil!
* * Apply http://opensimulator.org/mantis/view.php?id=3020Justin Clarke Casey2009-01-209-42/+460
| | | | | | * 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!
* Minor formatting cleanup, add copyright header.Jeff Ames2009-01-161-1/+1
|
* Update svn properties.Jeff Ames2009-01-162-67/+67
|
* * minor: remove some mono compiler warningsJustin Clarke Casey2009-01-131-1/+3
|
* * Add copyright notice to NHibernate.UserFriendJustin Clarke Casey2009-01-131-1/+28
|
* * Apply http://opensimulator.org/mantis/view.php?id=2991Justin Clarke Casey2009-01-131-4/+24
| | | | | | | * Puts ordinary getters and setters into NHibernate.UserFriend since previous c# 3.0 get/set failed on MSVC#2005 * Thanks mpallari
* * Apply http://opensimulator.org/mantis/view.php?id=2992Justin Clarke Casey2009-01-132-87/+0
| | | | | | | * Removes now unnecessary revision 2 and 3 files that should have been removed in an earlier patch * Thanks tlaukkan!
* Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke2009-01-1210-597/+679
| | | | | | | | | Cleaned up schema creation scripts of MySQL to compliant form and created SQLite scripts from them. In future it would be optimal if scripts from different databases could be generated from MySQL scripts to ensure optimal consistency between schemas of different databases. Did not yet review column names. ID columns seem to have variety in naming which can be confusing.
* Fix some C#3.0-isms that broke build in Mono 1.2.6 and MSVC# 2005.Homer Horwitz2009-01-121-4/+4
| | | | | Fixes Mantis #2989.
* Fixed some svn propertiesHomer Horwitz2009-01-122-134/+134
|
* * Apply http://opensimulator.org/mantis/view.php?id=2965Justin Clarke Casey2009-01-125-0/+259
| | | | | | | * Adds first version of MsSql2005Dialect support for NHibernate * Thanks mpallari
* Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke2009-01-1116-118/+714
| | | | | | | | | | | | | | | Fixed all NHibernate unit tests by implementing missing persistency methods, tables, columns and fixing bugs in the existing implementation. Two minor changes to classes outside NHibernate module: Added Scene instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest as this was required by the NHibernate persistency. In the process added also mock constructor to Scene which only populates RegionInfo in the scene which is used by ScenePart.RegionUUID. NHibernate module is still in experimental state and has not been tested at opensim region or ugaim runtime configuration. Adding unit tests to build is not yet advisable nor using NHibernate module in any production setup.
* 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).
* * Add the actual tests from http://opensimulator.org/mantis/view.php?id=2950Justin Clarke Casey2009-01-058-0/+669
| | | | | | | * Apologies for missing these out yet again * Thanks to Tommil for this code
* fixes mantis #2950Justin Clarke Casey2009-01-055-4/+10
|
* * Check in another patch from http://opensimulator.org/mantis/view.php?id=2710Justin Clarke Casey2008-12-0411-7/+693
| | | | | | | * 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-0215-385/+350
| | | | | | | | | * 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-0115-350/+385
| | | | for now.
* * From Mantis#2701 - Implements NHibernate data adapter, adds support for ↵Adam Frisby2008-12-0115-385/+350
| | | | | | | MsSql2005 to NHibernate. * Patch courtesy of Adminotech and realXtend. Thanks!
* * Remove unused and largely unimplemented UpdateUserCurrentRegion()Justin Clarke Casey2008-11-271-1/+0
| | | | | | * please say if this causes you a problem
* Plumb in the presence notifications and region shutdown/restart messagesMelanie Thielker2008-11-231-0/+4
| | | | | | | | | from the presence module to the message server, through the user server and on into the database. This should fix the "Already logged in" issue that grids see after a sim crashes, or a user crashes out of a sim. Not yet a 100% solution for friends, but getting there.
* * refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey2008-11-211-1/+1
| | | | | | | | * SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date