Hi Michael,thanks for the suggestion. But I tried that since it popped up in some searches from people using NHibernate.
I solved the problem with IMAGE as it is supported by SqlLite and SqlServer and is also 2^31-1 of length. Thanks anyway! greetings Daniel On Tue, Jul 28, 2009 at 1:15 AM, Michael Davis <[email protected]> wrote: > If you haven't already, try combining a ColumnType of "BinaryBlob" and a > Length of 2147483647. I believe that worked for me on a project using > NHibernate directly, but I'd imagine that it'd work through ActiveRecord as > well. > > Michael Davis > > > On Mon, Jul 27, 2009 at 9:22 AM, Daniel Hölbling <[email protected]>wrote: > >> Actually not, because the dialect defaults to a varbinary(8000) that is >> just too small to save any meaningful data. I get errors telling me that >> content would be truncated.. >> >> That's why I got into varbinary(MAX) in the first place. >> >> greetings Daniel >> >> >> On Mon, Jul 27, 2009 at 8:24 AM, Markus Zywitza <[email protected] >> > wrote: >> >>> Can't you just define ColumnType = "BinaryBlob" and let the dialect >>> figure out the most appropriate type for the RDBMS? >>> >>> -Markus >>> >>> 2009/7/27 Daniel Hölbling <[email protected]> >>> >>>> SqlType IMAGE is deprecated, I figured that wouldn't be the smartest >>>> move. I'll try it anyway, whatever works.. Thanks for the pointer. >>>> >>>> On Mon, Jul 27, 2009 at 1:01 AM, Alex Henderson >>>> <[email protected]>wrote: >>>> >>>>> AG >>>> >>>> >>>> >>>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
