See http://nhforge.org/wikis/howtonh/use-postgresql-arrays-with-nhibernate.aspx

On Mar 30, 5:43 pm, Michał Staszewski <[email protected]> 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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to