FbConnection.GetSchema("Columns") doesn't correctly identify array-columns --------------------------------------------------------------------------
Key: DNET-182 URL: http://tracker.firebirdsql.org/browse/DNET-182 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 2.1.0 Reporter: jonas högström Assignee: Jiri Cincura In the Employee database, there is a column in the JOB table declared as LANGUAGE_REQ VARCHAR(15) [5] When loading the metadata of the database using FbConnection.GetSchema("Columns"), the last value of the collection is called "IS_ARRAY", but this value is incorrectly returned as false for the LANGUAGE_REQ column. As far as I can see, there is nothing that indicates that the column is an array column, or how big the array is. Also, when looking at the values found in GetSchemaTable from a datareader; command.CommandText = "SELECT LANGUAGE_REQ FROM JOB"; DbDataReader reader = command.ExecuteReader(); DataTable dt = reader.GetSchemaTable(); Type t = dt.Rows[0]["DataType"] the type returned is "System.Array", but the actual value from the query is a System.String[] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider