Multiple dataset problem
Hi, I use TMSStoredProc and SP has multiple datasets. Besides, SP has some business logic and use Cursor to handle the logic. I tested to insert the records into physical table instead of #temptable in SP. I found it doesn’t insert any records into physical
Query taking much longer in Direct Mode than when using an Oracle client
Hello, Our product gives the user a choice of using either Direct Mode or using an Oracle client. A customer has reported that when using Direct Mode, a particular query is taking 17 minutes, and when using an Oracle client, it takes only 18 seconds.
Memory not released after closing TSmartQuery with LOBs
Hello, Regarding this issue, created about 1.5 years ago on the old forum: https://forums.devart.com/viewtopic.php?f=5&t=44418 Your latest answer is: We have reported it to Oracle but have not gotten an answer from them. Can you ask again? Have
[bug] auto-where by RefreshRecord (v8.0.0)
auto-where by refreshrecord works incorrectly with: cross join SELECT bdea.dbrid ba_op FROM bdea CROSS JOIN ab2 WHERE ba_ix = :ab_ix :ab_ix(WideString[3])='100' WHERE ( ba_ix = :ab_ix) AND cross.dbrid = :ba_op :ab_ix(WideString[3])='100' :ba_op(WideString[3])='136'
change SQLwait cursor when autorefresh
hi Some of the TMyQuery have Autorefresh enabled. When the autorefresh is executed the cursor changes automaticly to crSQLWait. Is it possible the changes this into the crDefault so the user does not sees the crSQLWait cursor. OR Is it better to use a
Wrong display/update of TIMESTAMP WITH TIMEZONE data in diect mode
For demo, PLS create a table CREATE TABLE TS_TEST ( ID NUMBER (9,0) NOT NULL, TS TIMESTAMP(6), TS_TZ TIMESTAMP(6) WITH TIME ZONE, TS_L_TZ TIMESTAMP(6) WITH LOCAL TIME ZONE ); ALTER TABLE TS_TEST ADD ( CONSTRAINT "_PK" PRIMARY KEY ( ID ) ); And insert
ODAC Pooling
Hi, Greetings! I'm trying to use ODAC connection pool feature, but im having a hard time figuring out how it works. Is there any demo or sample project that shows how it's done? Thanks in advance Rogerio
Possible OraClasses bug?
Hi, During a test, I've had a range check error throw up in OraClasses.pas. It was in version 12.2, but I've just updated now to 12.3 and I think the problem is the newer version as well. I am currently unable to reproduce the error, but I think it had
Adding an TActivityindicator when running long queries. What is the best way to implement?
Some of my queries with Unidaq (Locates, field lookups and updates) take a few seconds to implement. What is the best way to implement an activity indicator when these are initiated? Can I use events to kick off showing, displaying, updating, and eventually
Using INTEGER PRIMARY KEY as 64 bit identity
I am using LiteDac 5.0.1 with Delphi 2007 and I am trying to use an auto-incrementing primary key defined as INTEGER PRIMARY KEY. The field takes values much larger than MaxInt but when I try to read the data in with a tLiteQuery it thinks the field is
UniScript and specific SELECT script won't work
Hi, I use Uniscript with Interbase 7, and with this particular script, nothing append on the DB : SELECT GEN_ID( my_gen, MAX(id) - GEN_ID(my_gen, 0)) FROM my_table; (The generator my_gen should have taken the max value of my_table.ID). And no error were
TMSTable.post problem: Operation Aborted. How to get more detailed information ?
Hello, Using an TMSTable with 82 fields, and 1 keyfield (integer), I'm able to Insert, Delete and Edit, but when I execute Post, the operation fails with exception: Operation Aborted and no further information. If I delete the record and then Insert,
Issue with Inserting Current Time Using Now Function in Timestamp Column in Delphi 12 and UniDac 10.0.0
I have a problem with compiling in Delphi 12 with UniDAC 10.0.0. Everything works in Delphi 11 with UniDac 9.4.0. Database is Postgres. When I want to insert the current time into a table item that is of the timestamp type using the Now function, an error
BLOB With VirutalQuery Oracle
Hi, I need to use VitrualQuery to transfert Tables, table with clob et blob, but if I done the folowing code. With Postgres at the end Table2.Memo is filled by with Oracle is Empty. If I execute 'INSERT INTO TABLE2 SELECT * FROM TABLE1' in sqlplus it
Delphi 12 components
Hello, Delphi 12 has been out for 3 days and I see that it is not possible to download SDAC components for this new version. When can I expect components for version 12 ? I'm a bit surprised that there are no components on the same day that Delphi comes
F2063: could not compile used unit 'MyAccess'
I'm using the new MyDAC 12.0 professioal in Delphi 12.0. I get this error. The same for the unit 'DbAccess'. This version of MyDAC in Delphi 11.3 works fine. Is something wrong with the paths? Incompatible .dcu ?
RAD Studio 12 support
Any idea how soon after launch that MySQLDAC (Delphi Components) will be updated to be used in RAD Studio 12 ? Or can it be installed in RAD 12 now?
UniDAC Update - Delphi 12
Delphi 12 has been released. When can we expect an update of the UniDAC components?
SDAC version 11.0.0 not yet available for Delphi 12
Hello, I have received the notification that SQL Server Data Access version 11.0.0 and VirtualDac 13.0.0. is available for download. When I go to my profile to download the version I noticed that the Delphi 12.0.0 version is available for download.
TUniQuery - how to assign JSON object to it?
Can someone please give me an example how to assign a JSON object (got from HTTP response query) to TUniQuery component? In Delphi (10). Thanks.
Oracle 11 XE - Error ORA-24816: Expanded non LONG bind data supplied after actual LONG or LOB column
Hello, I have a problem with Oracle 11 Express Edition after upgrade ODAC from 10.1.3 to version 12.3.0 (Delphi 10.2). When I try to update a table with a CLOB field, I get ORA-24816 error (Expanded non LONG bind data supplied after actual LONG or LOB
Setting Servername with Port doesn't change port sind 10.2
With older version we only could set the servername in form of "server.local,1434" and the connection could be opened. When I use Version 10.2 the Port of the connection still stays on default 1433. Connection can than not be opened.
cannot insert unicode value in table (Mydac 9.1.3 for RAD Studio 10.2)
Hi, I have create a very simple database to test inserting unicode characters: CREATE TABLE `tencodingtest` ( `pk` int(11) NOT NULL AUTO_INCREMENT, `value_as_utf8` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL, `value_as_utf16` varchar(30)
How to know which SQL driver was selected by prAuto ?
Hello All, Is there any way to find out which sql driver the MSConnection have selected, when it is connected and the provider option is set to prAuto ? Some drivers are not suitable for datatypes like ftDate and ftTime, and I would like to know which
Get All Schemas for a Database in Postgres
Hi, I use the code below to get all Database for Postgres : //---- Effacement Database.Clear; //---- Création de la base de données TC := TUniConnection.Create(Self); try //---- PostgreSQL if not (Port.IsNullT or Server.IsNullT or UserName.IsNullT or
How can I prove that a SSH connection made by SecureBridge + ODAC is actually SSH
Hello Devart, We have recently added Secure Bridge to our product which uses ODAC to connect to an Oracle database. A security-minded customer wants be be certain that the connection is actually SSH. How can this be demonstrated beyond just "you can connect,
IBDAC Fastreport integration
Hello, I'm using IBDAC (latest version) in combination with Fastreport (latest version). In the parameters i send to Fastreport i also send the location of the database. I have IBDAC database component in the report and i set the path correctly to the
Error deleting record from table
I am trying to delete a record from a table, and receive this message: Incorrect Syntax near 'Index'. If this is intended as part of a table hint, A WITH keyword and parenthesis are now required. See DQL Server books Online for Proper Syntax. I am using
Program refused to run with SQL server access error, Before tmsconnection is connected
Hi, From a Windows 10 Pro workstation (in a workgroup) I am having problems connecting to a SQL server 2022 (Express) on a Windows 11 Pro machine (same workgroup), using Windows Auth. I have setup the SQL to allow both Windows and SQL server users, and
Swapping Connectionstring between Prod and Development
Hello, Using latest SDAC and Delphi 11.3: Today I forgot to change the connection string in an application I sent to a customer. That made me think if there would not be a better, and simpler, method than to replace the connection string and recompile
Cannot connect to SQLServer in os authentication mode
Hello! Delphi 11.3 Pro. This is my connection configuration: object UniConnection1: TUniConnection ProviderName = 'SQL Server' Port = 1433 SpecificOptions.Strings = ( 'SQL Server.Authentication=auWindows') Server = 'DESKTOP-4J9A9E5' LoginPrompt = False
Postgres
Estoy trabajando con el componente tunisql con una base de datos postgres, el problema es cómo recupero el id usando esta declaración: ON CONFLICT DO NOTHING, devolviendo id
TUniLoader - Oracle 19c: Direct path loading is not supported in Direct mode
Hello, we are currently using version 8.4.4 of the "Universal Data Access Components" for Delphi 10.4. For copying data we use the component TUniLoader, which has worked without any problems so far. We now want to copy data from one Oracle 19c instance
EORAERROR - ODAC DB Exception
We would like to handle exceptions according to the error number of the EORAERROR class. I would like to know the defined error number and message-related meaning. The following is an example of handling major exceptions when an error occurs when executing
UniDac Disconnected Mode Bug
I am using Delphi 11.3CE and UniDac 9.4.0 trial version, the problem is like this, I create two connections, one connection to SQL SERVER, one connection to Oracle (Disconnected are assigned to True), create two Query and set up the corresponding connection,
Change notification is not supported in Direct mode
Hi I would like to use change notification but i looks that this feature cannot use in Direct mode. Is there a workaround using change notification in Direct mode because our clients have no Orcale client installed. br, Robert
MS SQL Date and Time fields seen as TWideString fields by Delphi
Hi All, I know this is not a SDAC created problem, but nevertheless, it is a problem for me, using SDAC and MS SQL tables with Date and Time fields. It's with Delphi 11.3 on Win 10 and 11. The problem is that Delphi see MS SQL Date and Time fields as
xmlserialize problems in direct mode
For demo, PLS create table CREATE TABLE XML_TEST ( ID NUMBER (9,0) NOT NULL, XML_COL XMLTYPE ) / ALTER TABLE XML_TEST ADD ( CONSTRAINT XML_TEST_PK PRIMARY KEY ( ID ) / You don't need any data to reproduce. Create a new 64-bit application and add TOraSession,
Bug UniScript
Attached is a demo project the event cannot continue even using procedure TForm.UniScript1Error(Sender: TObject; E: Exception; SQL: string; var Action: TErrorAction); begin Action := eaContinue; end; This Script can be executed by IBExpert by creating
internalcalc Necessary facilities
I'm using "unidac" comps for "delphi" with "tclientdataset" I want to use "unidac" comps without "tclientdataset" before I was use it with "tclientdataset" and use internalcalc field as in-mem field I was change it whenever i want "Devart" add internalcalc
Next Page