TSmartQuery SQLTYPE property sometimes 0 when in Direct Mode
Hello, When in Direct mode, and running certain SQL in a TSmartQuery, the SQLType value is zero. Some examples are: CREATE INDEX test_ind ON TEST_TBL (EMPNO); ALTER TABLE TEST_TBL ADD (ddd DATE); It works correctly for these statements: create table test_tbl
Error "System.InvalidOperationException: Transaction already exists."
Hi, That error has already been mentioned here, but no solution. Wen can reproduce by doing this: //-------------------------------- try { //--step 1 try { Data1 dat1 = new() { field1 = 1, field2 = 2 }; ctx.Add(dat1); ctx.SaveChanges(); } catch(Exception
No DbUpdateConcurrencyException when OracleDbContextOptionsBuilder.MaxBatchSize > 1
Hi, we have an issue while enforcing optimistic concurrency in combination with an OracleDbContextOptionsBuilder.MaxBatchSize greater than 1 (eg. 50): there is no thrown DbUpdateConcurrencyException when there should be one. How to reproduce: Create an
SQL Server Always On feature
Do SDAC components for Delphi support SQL Server Always On feature? The "FailoverPartner" property was added for mirroring, but I am not sure if it would work with Always On.
Alerter on Postgres
HI. We have set up an alerter in Postgres (15) on linux ubuntu 22.04. The alerter works when we listen in psql on the server, but placing the Unidac alerter on our server application doesnt seem to do anything. I have put log messages in both the onerror
ODAC (direct mode) non-blocking
I am having an issue with ODAC non-blocking queries. Expected result: The .open method returns immediately. Actual result: The .open method does not return until the SELECT has completed the non-data transfer part of query. In practical terms, that means
TVirtualQuery Float field loaded as memo
Hello, I have a DataModule that I use to do some calculations and eventually display a chart. I have a TTable component with 2 Float fields (Rate and PieceRate). I assign this table to a TVirtualTable (vtPools). There are other tables as well. Next I
Is there a bug in SDAC Component ?
Field of type Data is treated as a widestring when the application runs on a computer other than the computer on which SDAC is installed. each reference to a date field generates string to date conversion errors, ONLY on the computer where delphi (XE")
Old DLL Reference (Devart.Data.PostgreSql)
Hello, in my Web Forms App I did upgrade to current Devart DLLs but there's somehow a hard reference to an older DLL and the only way I could solve it, was by using a DLL redirection - see below. Here's what I tried to solve it the right way: - I removed
Expecting Devart.Data.Oracle.OracleConnection but got Devart.Data.Oracle.Entity.av when using DbConnectionInterceptor
Version used: Used NuGet Package in .net 6 Project: Devart.Data.Oracle.EFCore 10.1.134.7 Problem: I need to Intercept the DbConnection to set some metadata but when using Microsoft.EntityFrameworkCore.Diagnostics.DbConnectionInterceptor instead of getting
[Devart][ODBC][Adaptive Server Enterprise]Invalid activation key ??Trial version
hello, We have successfully installed and efficiently configured Devart on our iMac M1 with the latest operating system, Ventura 13.4. As we opted for the trial version, we encountered a minor setback during a connection test—a vexing error message appeared:
Wrong number or types of arguments in call to 'SF_GET_CLIENTS_QUERY'
Hi Team, Facing this error, when we try to call a specific Oracle function, which has a input of type Table. there are no other mismatch on the number or type of arguments. Issue only when we use this particular parameter(atbl_client_nr). Below i have
TCREncryptor support for more modern hash function
i was looking to use TCREncryptor with unidac and noticed that it only supports deprecated hash algorithms - MD5 and SHA-1. Are there any plans to support sha-2 (I.e SHA256) as well as hmac based algorithms in unidac soon ?
Configuring a stored procedure with return values
I am new to UniDAC and am trying to configure a TUniStoredProc for a stored procedure with return values. I have managed to do this in code using CreateProcCall(<procedure name>), but I would like to know how to do this by just configuring the component
I'd like to ask you to cancel my subscription
Hello. The automatic renewal was checked at the time of purchase last year, so the product that was not scheduled to be used this year was automatically paid. I'd like to cancel my subscription, can I know how?
Slow connection using Dbeaver and ODBC <> BigCommerce Connection
We're looking for a solution to connect to BC using ODBC for my team. We managed to get the connection working but its unbelievably SLOW. Like 2-3 minutes for a select statement. We have enterprise BC so we shouldn't have any rate limiting issues, is
Unidac 9.3.0, Delphi XE2 ver 16.04, Oracle EE with TDE, ORA-00600
Hello, I am using UniDac version 9.3.0 with Delphi XE2 Version 16.0.4504.48759 on an oracle database 19c Enterprise Edition with TDE configured. I have a table with two columns crypted. Here the script I've used: ALTER TABLE utenti MODIFY (USERNAME ENCRYPT
Multiple Query
Hi I have a following problem: trying to utilize multiple query feature but getting error about incorrect sql syntax (ORA-00933). I want to pass few sql queries into one command, then execute reader, fetch data from first query, then call NextResult and
Cancel Subscription
I'd like to cancel my annual subscription for MySQL Database COmponents. Where can I do this?
facing issue as Cannot describe stored procedure arguments
Hi Team, we are facing the same issue which is mentioned in below link, this is created around 2 years ago. Do not find any solution/fix provided. please help in understand the resiolution required. For reference we are adding the Procedure for reference.
Как правильно работать c компонент Encryption Unidac Firebird3?
Добрый день Подскажите пожалуйста как правильно работать c компонент Encryption Unidac Firebird3? то что работал Ibdac перестал работать Unidac База Firebird 3 тип поля VARCHAR(2000) CHARACTER SET OCTETS COLLATE OCTETS В Ibdac работает но в Unidac после
Snapshot functionality or getting sqlite3* connection handle from SQLiteConnection
I need the snapshot functionality offered by SQLite as described here: https://www.sqlite.org/c3ref/snapshot_get.html but in context of a SQLiteConnection in turn used with Enity Framework 6. As far as I can see dotConnect for SQLite does not support
IndexFieldNames
Hi, I need "natural sort" as a sorting algorithm to use with IndexFieldNames. For natural sort see: https://en.wikipedia.org/wiki/Natural_sort_order I have an article number field as varchar. Some of my customers have article numbers with mixed letters
Installation Questions
I am installing dcoracle101pro.exe on a server that functions as a development environment as well as a production web server. When I attempted the installation it said that it was going to remove any old versions and I told it to go ahead and then another
Automatic Timestamp Macro
Hi, I found this topic and I think this is still a problem with UniDac: https://forums.devart.com/viewtopic.php?f=28&t=38112 When I use an SQL like ".... {timestamp '......'] ..." this works fine except for one client where I get an error: La conversion
How to translate SQLite messages
Hi, I use UniDAC to deal with SQLite databases. I use direct mode. If there is any error I use EUniError(E).ErrorCode but it is not detailed. (usually returns 1). E.Message holds detailed message in English. How to intercept to be able to get real error
Can a "dotConnect for Oracle" license be transfered from 1 developer to another developer
We're planning to buy a "dotConnect for Oracle" license type Team (up to 4 developers) for the company, and we analizyng the following scenario: If the 4 licenses are assigned to 4 different developers in the company, and at some point 1 of the developer
EF7: query (with JSON and CLOB) is much slower with directmode=true than without directmode
When querying an oracle view that has a CLOB which stores JSON using a connectstring with direct=true is much slower then without direct=true. <PackageReference Include="Devart.Data.Oracle.EFCore" Version="10.1.134.7" /> <PackageReference Include="Microsoft.EntityFrameworkCore"
How to setup encrypt connection on DBExpress Devart SQL Server?
Hello! I tried to add on params of TSQLConnection: (using Devart SQL Server) Trust Server Certificate=True; Use Encryption for Data=True;Login Prompt=False and Encrypt=True TrustServerCertificate=True but no effect on connection. I verified by this SQL:
dbExpress Trial Period
Good morning, I'm trying to use the dbexpress trial with my software, but when i try to use it on my software i receives an message saying that the trial period has expired, even if i dont have other dbxpress installation on the pc. I already tried to
Oracle RAC connectivity issue (regression)
Hi Devart Team, In early 2021 we updated our dorConnect for Oracle dependency to 9.14.1180 due to a client not being able to connect to their Oracle RAC database with our software. After the update all was good. Late last year we again updated our dotConnect
Best practice to work with SQL Server transactions
Hello, what's the best way to perform a transaction with a TMSQuery? See the following source code: try LQuery := LDatenHandler.GetQuery; // returns an TMSQuery object try LQuery.SQL.Clear; LQuery.SQL.Add('Begin transaction'); LQuery.SQL.Add('INSERT INTO
Devart SSIS Data Flow Components for Salesforce trial was expired
Good morning, We have several SSIS that stopped working after a month. We have the Devart license working in our computer using Visual Studio, but when we execute the SSIS from the server, it is throwing this error: "Tarea Flujo de datos:Error: There
Could not load file or assembly 'Devart.Data.Oracle.Entity.EF5'
Hi, we moved from devart 8.4 to version 10.0 so current entity dll is devart.data.oracle.enity.EF6 but after running program on a new user environment we're getting below error although we never had or used such dll devart.data.oracle.enity.EF5 - no idea
Insert to oracle 21 -> -922337203685478 value instead of 1.99 (exactly 1,99)
Hello, we have a problem with entering values to fields. The value 1.99 is entered into the table as null or as -922337203685478. We are using a 32 bit client - there is a problem on it. On the 64 client it is fine, unfortunately we cannot use it. Current
Delphi 6 - How to specify HomeName
Hi, I know that the HomeName option is only available for Delphi 2007 and higher IDE versions, but there is a workaround to specifiy an Oracle Home in Delphi 6, using last version of dbexpoda.dll? Thanks.
Long response time for a query
Hi, Last year, I posted a question on the old forums and the answer was: you need to install the latest version... Which we did in September (version 9.16.1434). Now we're back in that period where our application is used a lot and we're still experiencing
Table Mapping Generator
Hi All, during the generation of the mapping for a Database in EF Core v 7, importing the tables in model we have an error because is inserted a wrong value into a table definition. The wrong value is: .UseTptMappingStrategy() another problem is that
ExecuteDeleteAsync Error
Hello, every time i try to use ExecuteDeleteAsync in EF7 , for example context.TABLE_NAME.Where(x => x.ID == id).ExecuteDeleteAsync(cancellationToken: cancellationToken) i get error like : System.InvalidCastException: Unable to cast object of type 'Microsoft.EntityFrameworkCore.Query.SqlExpressions.DeleteExpression'
Saving NULL geometries in Oracle DB with EF Core
We are migrating our solution from EF6 to EF Core and .NET Framework to .NET 6. When saving an entity using EF Core (using UseNetTopologySuite on the DbContext) where a column of type Geometry is NULL, it results in the following error: Microsoft.EntityFrameworkCore.DbUpdateException:
Next Page