New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL error code = -204 [DNET514] #497
Comments
Modified by: Rand Random (rand.random)description: I installed the new .NET Provider and tried to update my EDMX Model (with Database First) but I am getting the following in my output window: Unable to generate the model because of the following exception: 'An error occurred while executing the command definition. See the inner exception for details. I am creating the following Domain, since Firebird 2.5 and earlier is lacking support for boolean: SET TRANSACTION; SET TERM !! ; if (exists(select 1 from rdb$fields f, rdb$types t execute statement 'CREATE DOMAIN BOOLEAN COMMIT TRANSACTION; could this be the root of the problem, and how would I fix it? In my Database I have => I installed the new .NET Provider and tried to update my EDMX Model (with Database First) but I am getting the following in my output window: Unable to generate the model because of the following exception: 'An error occurred while executing the command definition. See the inner exception for details. I am creating the following Domain, since Firebird 2.5 and earlier is lacking support for boolean: SET TRANSACTION; SET TERM !! ; if (exists(select 1 from rdb$fields f, rdb$types t execute statement 'CREATE DOMAIN BOOLEAN COMMIT TRANSACTION; could this be the root of the problem, and how would I fix it? Thanks in advance. |
Modified by: @cincuranet |
Commented by: Anil Mujagic (anilmujagic) I have the same issue with version 3.1.1.0 :( |
Commented by: Rand Random (rand.random) I posted the same problem again here: Jiri already said its fixed but the version isnt in the pipeline. |
Modified by: @cincuranet |
Modified by: @cincuranet |
Modified by: @cincuranet |
Modified by: @cincuranet |
Submitted by: Rand Random (rand.random)
Duplicates DNET513
I installed the new .NET Provider and tried to update my EDMX Model (with Database First) but I am getting the following in my output window:
Unable to generate the model because of the following exception: 'An error occurred while executing the command definition. See the inner exception for details.
Dynamic SQL Error
SQL error code = -204
Data type unknown
Implementation limit exceeded
COLUMN DSQL internal
Dynamic SQL Error
SQL error code = -204
Data type unknown
Implementation limit exceeded
COLUMN DSQL internal
'.
Loading metadata from the database took 00:00:00.4426206.
Generating the model took 00:00:07.6167923.
Added the connection string to the App.Config file.
Writing the .edmx file took 00:00:00.0012551.
I am creating the following Domain, since Firebird 2.5 and earlier is lacking support for boolean:
SET TRANSACTION;
SET TERM !! ;
EXECUTE BLOCK AS BEGIN
if (exists(select 1 from rdb$fields f, rdb$types t
where f.rdb$field_name='BOOLEAN'
and f.rdb$field_type=t.rdb$type
and t.rdb$field_name='RDB$FIELD_TYPE')) then
execute statement 'drop DOMAIN BOOLEAN;';
execute statement 'CREATE DOMAIN BOOLEAN
AS SMALLINT DEFAULT 0
CHECK (value in (0, 1));';
END!!
SET TERM ; !!
COMMIT TRANSACTION;
could this be the root of the problem, and how would I fix it?
Thanks in advance.
The text was updated successfully, but these errors were encountered: