Mauricio Scheffer pisze:
> See 
> http://nhforge.org/wikis/howtonh/use-postgresql-arrays-with-nhibernate.aspx
>
> On Mar 30, 5:43 pm, Michał Staszewski <mailing...@gmail.com> wrote:
>   
>> Hi!
>> I have table in PostgreSQL, which has column of integer[] type;
>> I mapped as following:
>> [Property("array")]
>> int[] Arrayy {get; set; }
>>
>> However, during trying to fetch any data from tha type i get excpetion:
>> {"Could not cast the value in field array3_17_0_ of type Int32[] to the
>> Type SerializableType.  Please check to make sure that the mapping is
>> correct and that your DataProvider supports this Data Type."}
>> Any idea how to handle with arrays in AR?
>> Thanks in advanced
>> Mike
Thanks, it works as it should ;)
I just wonder, why the support for extended sql types is not built into 
NHibernate.NpgsqlDriver?
Greetings
Mike

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to 
castle-project-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to