This question is locked. New answers and comments are not allowed.
Sebastian SWC
Top achievements
Rank 1
Sebastian SWC
asked on 17 Jan 2011, 12:04 AM
Hy, sorry for my poor english.
I'm trying to use OpenAcess with PostgreSQL. My database have just only a table with a custom type.
Table definition:
My custom_control Definition:
After create a new domain model and try to see the table table on a radgrid, the following error occours:
Server Error in '/' Application.
Exception Details: Telerik.OpenAccess.Exceptions.MetadataException: No database type mapping found for field '_myarray': CLR type 'System.Object' or column type '_int4' unmapped.
Any idea what i have to do to solve this problem?
I'm trying to use OpenAcess with PostgreSQL. My database have just only a table with a custom type.
Table definition:
CREATE TABLE test( id serial NOT NULL, myarray integer[], mycontrol custom_control, CONSTRAINT test_pk PRIMARY KEY (id));My custom_control Definition:
CREATE TYPE custom_control AS ( dt_modify timestamp without time zone, obs character varying(50));After create a new domain model and try to see the table table on a radgrid, the following error occours:
Server Error in '/' Application.
No database type mapping found for field '_myarray': CLR type 'System.Object' or column type '_int4' unmapped.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: Telerik.OpenAccess.Exceptions.MetadataException: No database type mapping found for field '_myarray': CLR type 'System.Object' or column type '_int4' unmapped.
Any idea what i have to do to solve this problem?
6 Answers, 1 is accepted
0
Sebastian SWC
Top achievements
Rank 1
answered on 17 Jan 2011, 12:07 AM
0
Hi Sebastian SWC,
It seems that there is an issue when PostgreSql user defined types are used in Telerik OpenAccess ORM. We will investigate the cause for this problem and fix it.
Once we resolve the problem we will provide you with details regarding the wrong behavior.
I am sorry for the inconvenience caused.
All the best,
Damyan Bogoev
the Telerik team
It seems that there is an issue when PostgreSql user defined types are used in Telerik OpenAccess ORM. We will investigate the cause for this problem and fix it.
Once we resolve the problem we will provide you with details regarding the wrong behavior.
I am sorry for the inconvenience caused.
All the best,
Damyan Bogoev
the Telerik team
0
Sebastian SWC
Top achievements
Rank 1
answered on 18 Jan 2011, 09:35 PM
Hey,
Don't forget the array types with problem too.
Thanks for your support.
Don't forget the array types with problem too.
Thanks for your support.
0
Hi Sebastian SWC,
We will do our best to implement this feature for the next Q1 release.
Once again I am sorry for the inconvenience caused.
Kind regards,
Damyan Bogoev
the Telerik team
We will do our best to implement this feature for the next Q1 release.
Once again I am sorry for the inconvenience caused.
Kind regards,
Damyan Bogoev
the Telerik team
0
Sebastian SWC
Top achievements
Rank 1
answered on 27 May 2011, 06:33 PM
Hi,
any news about that?
Thanks
any news about that?
Thanks
0
Hi Sebastian SWC,
I am afraid that currently we do not provide support for PostgreSql user-defined types in the product.
I am sorry for the inconvenience caused.
All the best,
Damyan Bogoev
the Telerik team
I am afraid that currently we do not provide support for PostgreSql user-defined types in the product.
I am sorry for the inconvenience caused.
All the best,
Damyan Bogoev
the Telerik team
Want to use Telerik OpenAccess with SQL Azure? Download the trial version today.