Search found 753 matches
- 25.09.2019, 19:59
- Forum: ZeosLib 7.2 Forum
- Topic: Oracle 12.2.0.1 keeps throwing ORA-01406
- Replies: 25
- Views: 4774
Re: Oracle 12.2.0.1 keeps throwing ORA-01406
Nice, even if I'm subscribed to a topic I'm not receiving notifications :( By UTF8 I meant AL32UTF8; because of your previous comment I already even forgot that the base UTF8 exists. As for a test case I'll try to create a similar table with similar data... as I mentioned it's a commercial database ...
- 24.09.2019, 20:20
- Forum: ZeosLib 7.2 Forum
- Topic: Oracle 12.2.0.1 keeps throwing ORA-01406
- Replies: 25
- Views: 4774
Re: Oracle 12.2.0.1 keeps throwing ORA-01406
Did we manage to get a reply on this one? I'm keeping the ClientCodePage on EE8MSWIN1250 for the time being but I'd feel a lot better just to set it to UTF8 and forget about this.marsupilami wrote:@Egonhugeist: I know it is a stupid question, but are we sure that we calculate the buffer size correctly?
- 12.09.2019, 07:14
- Forum: ZeosLib 7.2 Forum
- Topic: ZEOS 7.2.4 Filter error
- Replies: 5
- Views: 304
Re: ZEOS 7.2.4 Filter error
Hello, Filtering works just fine from 0 characters up. What I can see is that you are NOT ignoring the case, which means the value "Test" will not show up if you filter "like '%S%'". Try this: MyDataset.Filter := En_tete + ' like LOWER(''*' + String(TEdit(Sender).Text).ToLower + ...
- 09.09.2019, 22:02
- Forum: ZeosLib 7.2 Forum
- Topic: New fiture request: ZQuery OnProgress event
- Replies: 6
- Views: 382
Re: New fiture request: ZQuery OnProgress event
Nice, I did not get a notification about a reply in the thread...
At home I'm using MySQL and at work we mainly use Oracle and a small fraction of MSSQL.
But I guess IF this will be implemented, it'll be implemented for all / most of the supported protocols, no?
At home I'm using MySQL and at work we mainly use Oracle and a small fraction of MSSQL.
But I guess IF this will be implemented, it'll be implemented for all / most of the supported protocols, no?
- 09.09.2019, 21:43
- Forum: ZeosLib 7.2 Forum
- Topic: Firebird BYTES data type not compatible with TBlobStream
- Replies: 4
- Views: 328
Re: Firebird BYTES data type not compatible with TBlobStream
Hello, You can try reading it to a stream and then converting it to TBytes: Var ms: TMemoryStream; tb: TBytes; Begin ms := TMemoryStream.Create; Try (ZQuery.FieldByName('TheField') As TBlobField).SaveToStream(ms); ms.Position := 0; SetLength(tb, ms.Size); ms.Read(tb, ms.Size); // Do something Finall...
- 06.09.2019, 12:33
- Forum: ZeosLib 7.2 Forum
- Topic: Oracle 12.2.0.1 keeps throwing ORA-01406
- Replies: 25
- Views: 4774
Re: Oracle 12.2.0.1 keeps throwing ORA-01406
With Oracle, UTF8 should be aliased to AL32UTF8 in Zeos. Because the Oracle UTF8 in reality is CESU-8... [...] What strikes me here: UTF8 can use up to 4 bytes per character and WIN1250 is a character set that only uses one byte per character. I did not know about this but this makes sense. What is...
- 05.09.2019, 12:19
- Forum: ZeosLib 7.2 Forum
- Topic: Oracle 12.2.0.1 keeps throwing ORA-01406
- Replies: 25
- Views: 4774
Re: Oracle 12.2.0.1 keeps throwing ORA-01406
So, managed to find something. Either it will be an Oracle bug or I don't understand Zeos's ClientCodePage well enough. Not only one test systems were affected, and those affected SELECT USERENV ('language') FROM DUAL returned "AMERICAN_AMERICA.EE8MSWIN1250". If in the connection I set Cli...
- 05.09.2019, 10:04
- Forum: ZeosLib 7.2 Forum
- Topic: Oracle 12.2.0.1 keeps throwing ORA-01406
- Replies: 25
- Views: 4774
Re: Oracle 12.2.0.1 keeps throwing ORA-01406
Hello, Since updating the Oracle client to 19.3.0 (wow, mine was seriously outdated...) did not fix the issue I installed Zeos 7.3 r5898 but the issue remains: [2019.09.05 10:59:33.967] Tab 0, TESTORACLE: Successfully connected to testoracle.internal in 966 millisecond(s). oracle 11.2.0, client vers...
- 05.09.2019, 07:46
- Forum: ZeosLib 7.2 Forum
- Topic: Oracle 12.2.0.1 keeps throwing ORA-01406
- Replies: 25
- Views: 4774
Re: Oracle 12.2.0.1 keeps throwing ORA-01406
Hello, Server is Oracle 11.2.0 and client library is 12.2.0. As for 7.3 I'm not sure, did not try it yet; to be honest I was waiting for the stable version before upgrading :) I'm not aware in how Zeos exactly does it magic in the background, but "FPlainDriver.AttrGet" suggests that the bu...
- 02.09.2019, 18:53
- Forum: ZeosLib 7.2 Forum
- Topic: Oracle 12.2.0.1 keeps throwing ORA-01406
- Replies: 25
- Views: 4774
Oracle 12.2.0.1 keeps throwing ORA-01406
An other day, an other interesting error. I connected my application to an Oracle server with the client version number in the subject. When I'm trying to select data from a table, an ORA-01406 exception is thrown every second or so. My code is like the following: Procedure TForm1.ExecuteButtonClick...
- 06.08.2019, 12:24
- Forum: ZeosLib 7.2 Forum
- Topic: Load BLOB fields on-demand?
- Replies: 9
- Views: 487
Re: Load BLOB fields on-demand?
Well, at least this answers why I found no article about this on the Internet :) I do understand that data transfer and components are on different layers and might not be able to change the others behavior, I was just hoping there's a parameter which I can set and will work similar to ZConnection's...
- 01.08.2019, 13:39
- Forum: ZeosLib 7.2 Forum
- Topic: Load BLOB fields on-demand?
- Replies: 9
- Views: 487
Load BLOB fields on-demand?
I am using a patched version of Zeos 7.2.4 (r5698, reports as 7.2.5-rc) with multiple databases (MySQL, Oracle and MsSQL mainly). I am writing a basic database browser application where you can enter a query and a DBGrid will display all the information. The data link is: TZConnection <- TZQuery <- ...
- 27.07.2019, 18:07
- Forum: ZeosLib 7.2 Forum
- Topic: New fiture request: ZQuery OnProgress event
- Replies: 6
- Views: 382
Re: New fiture request: ZQuery OnProgress event
Please, please, please!!!! I had to re-write my DB management app to use datasources / DBGrids because of performance issues (manually building up a ListView with each row was painfully slow on 10-100k rows) but with this I lost the chance to show progress indicators. I was just looking for a way to...
- 17.05.2019, 17:04
- Forum: MySQL
- Topic: Lost connection to server during query / MySQL has gone away
- Replies: 1
- Views: 2504
Re: Lost connection to server during query / MySQL has gone away
I guess we can take the WLAN out of the question :) Today the same happened when I was using a wired connection. After the usual "Lost connection" a couple of access violation errors and sometimes my application just hangs endlessly, it does not even want to shut down by itself (it gets st...
- 16.05.2019, 08:47
- Forum: MySQL
- Topic: Lost connection to server during query / MySQL has gone away
- Replies: 1
- Views: 2504
Lost connection to server during query / MySQL has gone away
Hello, I'm using Delphi 10.2 with Zeos 7.2.4-stable to connect to a MySQL 8.0.13 server using (the latest available, 8.0 is not yet included in the Windows installer) libmysql.dll version: 6.1.11. When I am debugging my application (connected to the DB via WLAN) I am greeted with the above two messa...