firebird

Firebird DDEX 3.0.1 with VS2013 System.Data.Entity.Core.MappingException

谁都会走 提交于 2019-12-13 01:54:13
问题 I am using VS2013 + EF 6 + .NET 4.5, installed FirebirdSql.Data.FirebirdClient via nuget like; install-package FirebirdSql.Data.FirebirdClient-EF6 After, I installed DDEX 3.0.1, try to add new Entity Data Model (DB First), define new connection with successful "Test Connection". And then, when it tries to retrieve database objects, it gives me below exception; How can I fix this issue? TIA. 回答1: This is a known issue when using EDMX (Code First is not affected). 来源: https://stackoverflow.com

Firebird insert…returning asp.net

一个人想着一个人 提交于 2019-12-13 01:27:29
问题 I'm using Firebird 2.5 and asp.net (4.5). I'm trying to find out how to use insert ... returning, or some equivalent. Using fbDataReader, it executes the insert OK, but I can't find anyway of accessing a returned value. Using fbDataReader.GetName(0) seems to work ok, returning the variable name in the "returning" clause. This even applies to a max() in a subselect: ..... returning (select max(userid) as newid from users) returns the text "newid". I can't find where, or whether, the value is

Firebird Execute Statement

流过昼夜 提交于 2019-12-13 01:18:26
问题 I am trying to insert multiple rows into a firebird table by using an execute block. But I get an error saying that "term" is invalid. "Dynamic SQL Error nSQL error code = -104 Token unknown - line 1, column 5 term" Here is the C# code that I use for the insert connection.Open(); string insertData = "set term ^ ; execute block as begin;"; foreach (dataPoint dataPointInsert in dataPointList) { insertData += string.Format(" insert into data (trip_id, trip_type, longitude, latitude, speed, date

SQL Firebird implementation in java/ IBSQL

五迷三道 提交于 2019-12-12 20:46:58
问题 so tried to put that SQL code into my java-aplication: SELECT DISTINCT StRzImRo.Rohstoff, StRo.Bezeichnung, CAST (SUM(BwLsImAt.Lieferungen * StRzImRo.Menge * StAt.PROD__REZEPTURGEWICHT / Coalesce(StRz.PARM__BEZUGSGROESSE,1)) AS NUMERIC (9,3)) Rohstoffverbrauch_Gesamt FROM BwLsImAt JOIN StAt ON (StAt.IntRowId = BwLsImAt.Artikel) JOIN StRz ON (StRz.IntRowId = StAt.PROD__REZEPTUR) JOIN StRzImRo ON (StRzImRo.Master = StRz.IntRowId) JOIN StRo ON (StRzImRo.Rohstoff = StRo.IntRowId) WHERE StAt

FireDac Firebird and Android

柔情痞子 提交于 2019-12-12 19:03:13
问题 Are there any other components I need to establish a firebird connection on a mobile android device in addition to FireDac? I have set up and tested a connection to a remote server using Firedac, but when I try to run the application on an Android device, it hangs trying to make the connection. What am I missing? 回答1: You can't connect directly since you are (probably) missing the client library on the device. I'm not aware of availability of the client library for Android platform but I saw

How to enable wirecompression on Firebird 3.0

孤街浪徒 提交于 2019-12-12 18:33:11
问题 I work with Firebird and Delphi, I want to implement access via internet with wirecompression; But I am unable to activate it. I have followed the steps inside this document for the new parameter(one of the few I was able to find) How to enable WireCompression on Firebird 3.0 using FireDAC In the tests I use Windows server 2012 R2 Firebird : Firebird-3.0.4.33054_0_Win32(32 bits) Also copied to executable folder. fbclient.dll zlib1.dll (idem server and client) created firebird.conf with

Only 1 row in recordset but all rows in table get updated

≡放荡痞女 提交于 2019-12-12 16:22:43
问题 The query retrieves a single record as is confirmed by the recordcount but every single row in the table gets updated I am using vb6 and ms ado 2.8 The Firebird version is 2.5.4.26856 (x64). Firebird ODBC driver 2.0.3.154 The computer is windows 7 home edition 64 bit Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim cs As String Dim dbPath As String dbPath = "c:\Parkes\Parkes.fdb" cs = "DRIVER={Firebird/Interbase(r) Driver}; DBNAME=localhost:" & dbPath & "; UID=SYSDBA; PWD

Backup server to local file with FirebirdSql.Data.Services.FbBackup

两盒软妹~` 提交于 2019-12-12 12:48:05
问题 I'm trying to use following code to backup a database located on a remote server on which I do NOT have write permission : FbBackup backupSvc = new FbBackup(); backupSvc.ConnectionString = ConnectionStr; // on remote server backupSvc.BackupFiles.Add(new FbBackupFile(destFile)); // local file backupSvc.Verbose = true; backupSvc.Options = FbBackupFlags.IgnoreLimbo; backupSvc.ServiceOutput += ServiceOutput; backupSvc.Execute(); This works just perfectly fine if the DB is on localhost or if I can

How to enable WireCompression on Firebird 3.0 using FireDAC

大兔子大兔子 提交于 2019-12-12 10:58:10
问题 I am looking to connect to Firebird Server 3.0 using WireCompression. This being new feature since version 3.0 I'm having a hard time to get it to do so and the only documented instructions I can find is setting WireCompression to TRUE in firebird.conf and use the connect parameter "wirecompression=true". This is what I've got this far: firebird.conf: # Firebird configuration file for Firebird 3.0 64-bit SuperServer # Optimized by IBSurgeon (www.ib-aid.com) for HQbird distribution. #

Node-firebird sequentially select

霸气de小男生 提交于 2019-12-12 10:52:44
问题 I am trying to get the data from Firebird DB with sequentially select option. I would like to get the first 500 rows, as you see on my code. And for testing, I am increasing 'k' for each 'row' and logging 'k' and 'md5' to the console. When I am running my code, it gives me random number of rows. But the number of rows are always more than 500. How can I solve this problem? Any suggestions? var Firebird = require('node-firebird'); var md5 = require('md5'); var options = {}; //options.host =