…ove or delete files from causing file-system-cas to cause exceptions which may result in transaction being bailed out on.
… attachments in concurrent threads, you could end up with a temporary filename clashes due to the way random numbers were generated. Switched to generating a GUID value instead.
…e MySql crashes to occur (similar to this issue https://nhibernate.jira.com/browse/NH-2096 in NHibernate).
…ing for incorrect payload size (now just returns null instead of throwing.
…e a specified date (to avoid race conditions when performing frequent garbage collection + large transactions). Updated FileSystemCasConnection to no delete first byte / second byte folders if they still contain files or directories. Updated README.
Implemented the ExternalBlobGarbageCollector that will scan an NHibernate session for all instances of Blob/Clob/Xlob, then pass the set of live identifiers to the garbage collector for analysis. Implemented two Migration providers "MigrationFromByteArrayToFileSystemCasProvider" and "MigrationFromFileSystemCasToByteArrayProvider" - you can use these providers for reading from a ByteArray, then saving back to the FileSystemCas store or vice-versa via some temporary stream storage (i.e. a temporary file).
…cache. Implemented fix to way blobs behave, so they explicitly implement a new interface IPersistedLob, which can be used to tag a non-external Lob with details of it's persisted counterpart, so they can be used when disassembling the instance on first save for the second level cache.
Added support for specifying an underlying Data Connection Provider (need this for my Sqlite tests that use a single-session hacked provider). Added support for specifying the Length of the blob filed, for developers using SchemaExport i.e. for creating test databases, where the size of the payload is unknown because an implementation of IExternalBlobConnection may not be available.
…n Wrapper - Up:ed NHibernate version - Added various Partial Trust Caller attributes - Added placeholder files for DB support git-svn-id: http://nh.svn.calyptus.se@13 cc8c8411-6eae-de4b-b580-ec389de47204
git-svn-id: http://nh.svn.calyptus.se@11 cc8c8411-6eae-de4b-b580-ec389de47204
git-svn-id: http://nh.svn.calyptus.se@10 cc8c8411-6eae-de4b-b580-ec389de47204