Re: PostgreSQL integer[] problem

2009-04-01 Thread Michał Staszewski
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)]

PostgreSQL integer[] problem

2009-03-30 Thread Michał Staszewski
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

Re: PostgreSQL integer[] problem

2009-03-30 Thread Mauricio Scheffer
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,