Search found 1934 matches

by EgonHugeist
07.05.2021, 05:04
Forum: ZeosLib 7.3/8.0 Forum
Topic: Converting ZDatasetParam unit to use ZFormatSettings
Replies: 6
Views: 514

Re: Converting ZDatasetParam unit to use ZFormatSettings

Hello Mark, as you already know: The upper compoent layer is not related to the dbc layer. From my POV i'ts better if such conversion (user format) happen on the compoent-layer only. Reason is quite simple: Each DataSet, the more each field, can have it's own format. It simply seems to be impossible...
by EgonHugeist
07.05.2021, 04:54
Forum: ZeosLib 7.3/8.0 Forum
Topic: Mapping Firebird Fields and not registration TZFields
Replies: 4
Views: 340

Re: Mapping Firebird Fields and not registration TZFields

Hello Louis,

i can't see a reason for an ShortIntField for firebird. FB has no byte range types. Can you give more details or an example again?
by EgonHugeist
07.05.2021, 04:52
Forum: ZeosLib 7.3/8.0 Forum
Topic: Any reason why EZSQLConnectionLost is being changed to EZDatabaseError?
Replies: 4
Views: 411

Re: Any reason why EZSQLConnectionLost is being changed to EZDatabaseError?

The component and dbc layer are not related. That's why the dbc layer raises EZSQLException descendants and the component layer uses EDatabaseError descendants. It's an alltime design i love to keep. Inbetween loads of people are using ZDBC only because of the advertising from the mORMot project or ...
by EgonHugeist
30.04.2021, 05:52
Forum: ZeosLib 7.3/8.0 Forum
Topic: odbc_a error "COUNT field incorrect or syntax error" and workaround
Replies: 1
Views: 311

Re: odbc_a error "COUNT field incorrect or syntax error" and workaround

Hi,

nope i'm fine with FieldType Bit on ODBC and OleDB. It should be mapped to a boolean field.
Note for MSSQL Server use ODBC_W this server isn't ansi based anymore since ages..

So can you explain the problem a bit more precise? Compiler, Server, Driver Versions should be a good start..
by EgonHugeist
30.04.2021, 05:48
Forum: ZeosLib 7.3/8.0 Forum
Topic: Column Date and Validating issue
Replies: 8
Views: 456

Re: Column Date and Validating issue

Hello Luis,

welcome on V8. Be patient we'll get you in. According your proplem can you create a min example and open a ticket on https://sourceforge.net/p/zeoslib/tickets/ A bit more code would be nice to resolve the problem.
by EgonHugeist
30.04.2021, 05:44
Forum: ZeosLib 7.3/8.0 Forum
Topic: ZParam: Set value without changing datatype.
Replies: 7
Views: 653

Re: ZParam: Set value without changing datatype.

Hi, @aehimself what was the reason for your pull request? I don't get it. Usually users are setting the param-Type to lock this type. Your patch did change the log vice versa. Can you explain it? @Mark i did change that again: https://sourceforge.net/p/zeoslib/code-0/7518/ . It should also handle ht...
by EgonHugeist
30.04.2021, 05:33
Forum: Oracle
Topic: My LOBs aren't getting released...?
Replies: 25
Views: 1771

Re: My LOBs aren't getting released...?

@Michael, I understand that the LOB "descriptors" are required and therefore normal to exist, but wouldn't it make sense to free them up if we navigate away while not caching? I do not see a regression here. All escriptors should be freed is the descriptors have been copied. See TZAbstrac...
by EgonHugeist
10.04.2021, 08:08
Forum: Oracle
Topic: My LOBs aren't getting released...?
Replies: 25
Views: 1771

Re: My LOBs aren't getting released...?

Hi, yet i have not enough time for the forum guys, my appologies for that. So just some quick answers: Glad to hear Mark's implementation did not cause any unwanted side effects. The more NICE job, Mark! Thank you. For the record: A "Firehose" cursor can be acquired by using TZReadOnlyData...
by EgonHugeist
01.04.2021, 16:51
Forum: Feature Requests
Topic: Deferred Lobs feature suggestion
Replies: 18
Views: 1253

Re: Deferred Lobs feature suggestion

Mark, had some test regression (if the OCILobs are NULL). Fixed by https://sourceforge.net/p/zeoslib/code-0/7419/ . According the compatibility question: 1. I have no objections if the enumerator will be added to the TZAbstractRODateSet descendants (except TZMemTable -> late fetched lobs are not sup...
by EgonHugeist
01.04.2021, 05:50
Forum: ZeosLib 7.3/8.0 Forum
Topic: Is it possible to return more detailed error message from Firebird?
Replies: 6
Views: 870

Re: Is it possible to return more detailed error message from Firebird?

Hi, usually you should see all error messages from IB/FB except the AddLogMsgToExceptionOrWarningMsg is turned off. see: TZInterbaseFirebirdConnection.HandleErrorOrWarning for i := Low(InterbaseStatusVector) to High(InterbaseStatusVector) do begin AppendSepString(ErrorString, InterbaseStatusVector[i...
by EgonHugeist
01.04.2021, 05:40
Forum: Oracle
Topic: ORA-01406: fetched column value was truncated
Replies: 3
Views: 651

Re: ORA-01406: fetched column value was truncated

Hi,

the buffer/rowsize calculation happens in ZDbcOracleResultSet.pas method: procedure TZOracleResultSet_A.Open.

It would be nice if you could resolve that. And if you could resolve the UTF16 missue i would be happy too. Looking forward :bash: i can't reproduce both of them. :nurse:
by EgonHugeist
01.04.2021, 05:36
Forum: ZeosLib 7.2 Forum
Topic: [Solved] SQLite - UncachedGetColumns
Replies: 5
Views: 880

Re: SQLite - UncachedGetColumns

Hi naumov,

yes please open a new ticket. And please provide an example. Than it's quickly fixed.
by EgonHugeist
18.03.2021, 18:23
Forum: Oracle
Topic: ORA-22924
Replies: 3
Views: 552

Re: ORA-22924

Jan, there is no emulation about "autocommit" for Oracle. It's simply not supported see: https://docs.oracle.com/cd/E11882_01/ap ... LNOCI17163 patameter "mode". we just send OCI_COMMIT_ON_SUCCESS if the connection is in AutoCommit mode.
by EgonHugeist
18.03.2021, 18:18
Forum: ZeosLib 7.3/8.0 Forum
Topic: PostgreSQL timestamp with timezone issue
Replies: 16
Views: 1899

Re: PostgreSQL timestamp with timezone issue

Yet i had no time to continue Mark. Thanks for the ticket approach. Anyway it should be acceptable to update the documentations according this "unexpected" behavior.
I keep an eye on that from Zeos side...