Page 1 of 1

Incorrect type keyword generated for PostgreSQL column

Posted: Thu 17 Mar 2016 14:43
by tom.puckett
I am using Entity Developer v 5.8.791 in model first mode, and Postgresql 9.5. When I create or modify an entity property of type "datetimeoffset" using the "Property Editor" dialog, the "Server Data Type" generated by Entity Developer is "timestamp with timezone". But this fails to be created on the database server. If I modify it to be "timestamp with time zone" (with a space character in "time zone") then it works fine. The server type that is automatically generated by Entity Developer should be fixed.

Re: Incorrect type keyword generated for PostgreSQL column

Posted: Fri 18 Mar 2016 15:46
by Shalex
You are using the LinqConnect model (*.lqml), aren't you?
tom.puckett wrote:When I create or modify an entity property of type "datetimeoffset" using the "Property Editor" dialog, the "Server Data Type" generated by Entity Developer is "timestamp with timezone". But this fails to be created on the database server. If I modify it to be "timestamp with time zone" (with a space character in "time zone") then it works fine.
We have reproduced the issue. We will notify you when it is fixed.

Re: Incorrect type keyword generated for PostgreSQL column

Posted: Mon 21 Mar 2016 14:14
by tom.puckett
Yes, LinqConnect model.
Shalex wrote:You are using the LinqConnect model (*.lqml), aren't you?
tom.puckett wrote:When I create or modify an entity property of type "datetimeoffset" using the "Property Editor" dialog, the "Server Data Type" generated by Entity Developer is "timestamp with timezone". But this fails to be created on the database server. If I modify it to be "timestamp with time zone" (with a space character in "time zone") then it works fine.
We have reproduced the issue. We will notify you when it is fixed.

Re: Incorrect type keyword generated for PostgreSQL column

Posted: Thu 24 Mar 2016 16:39
by Shalex
The bug is fixed. We will notify you when the corresponding build of Entity Developer is available for download.

Re: Incorrect type keyword generated for PostgreSQL column

Posted: Tue 26 Apr 2016 15:11
by Shalex
The bug with generating the "timestamp with time zone" columns in the Generate Database Script / Update Database From Model functionality is fixed in LinqConnect 4.5.976: http://forums.devart.com/viewtopic.php?f=31&t=33580.

Re: Incorrect type keyword generated for PostgreSQL column

Posted: Mon 23 May 2016 13:39
by tom.puckett
Confirmed it's working now, thanks.