Search found 16 matches

by cfc
27.03.2013, 18:40
Forum: ZeosLib 7.0 Stable Forum
Topic: Impossible conect to Ora 10G xe
Replies: 3
Views: 1281

hello, You should create an entry in the tnsnames.ora file. Examples: DBNAME =    (DESCRIPTION =      (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.10.54) (PORT = 1521))      (CONNECT_DATA =        (SERVER = DEDICATED)        (SERVICE_NAME = service name)      )    ) PAAAAI =    (DESCRIPTION =      (A...
by cfc
27.03.2013, 18:28
Forum: ZeosLib 7.0 Stable Forum
Topic: MSSQL fails the first transaction
Replies: 4
Views: 919

The procedure to send lower case 'begin transaction' is: TZDBLibConnection.StartTransaction procedure; begin    InternalExecuteStatement ('BEGIN TRANSACTION'); end; Which I think is logical to do so, TZDBLibConnection.InternalSetTransactionIsolation should only set the transaction type, not start it.
by cfc
01.03.2013, 12:37
Forum: ZeosLib 7.0 Stable Forum
Topic: MSSQL fails the first transaction
Replies: 4
Views: 919

I found where the problem is generated

Looking where the error occurs, I see that the process responsible for repeating the begin transaction is TZDBLibConnection.InternalSetTransactionIsolation in file dbc\ZDbcDbLib.pas line 593. procedure TZDBLibConnection.InternalSetTransactionIsolation(Level: TZTransactIsolationLevel); const IL: arra...
by cfc
27.02.2013, 19:22
Forum: ZeosLib 7.0 Stable Forum
Topic: MSSQL fails the first transaction
Replies: 4
Views: 919

MSSQL fails the first transaction

Hello, I encountered the following problem on Zeos 7.0.3 When connected to a MSSQL database defining AutoCommit = false, TransactIsolation = tiReadCommitted, running 2 begin transaction, this can be verified in the log ZSQLMonitor or executing the query SELECT @@TRANCOUNT which returns 2. This cause...
by cfc
10.09.2012, 21:02
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Error with large blob fields in Oracle
Replies: 7
Views: 1241

Yes, now works perfectly
Thank you.
by cfc
03.09.2012, 20:49
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Error with large blob fields in Oracle
Replies: 7
Views: 1241

Sorry, I'm using http://svn.code.sf.net/p/zeoslib/code-0 ... es/testing.
Is it correct or should I use another path?
by cfc
03.09.2012, 16:32
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Error with large blob fields in Oracle
Replies: 7
Views: 1241

[patch_done] Error with large blob fields in Oracle

Hello, I have an error with large blob fields in Oracle. I watched TZOracleBlob.ReadBlob procedure (ZDbcOracleResultSet.pas) and obviously the block repeat ..... Until Offset <Cap, only runs once and the blob field is truncated.

regards
by cfc
04.07.2012, 12:41
Forum: ZeosLib 7.0 Beta Forum
Topic: [solved] Windows 32 / 64 problem with TWideStringField
Replies: 3
Views: 630

Michael,

Excuse me, you're right, the problem was the Oracle client configuration on each machine, by setting in ZConnection clientcodepage UTF8 works perfect regardless of how this set NSL_LANG.

Thank you very much.

cfc.
by cfc
03.07.2012, 21:32
Forum: ZeosLib 7.0 Beta Forum
Topic: [solved] Windows 32 / 64 problem with TWideStringField
Replies: 3
Views: 630

[solved] Windows 32 / 64 problem with TWideStringField

Hi Michael, All taxes well until you run the program in Windows 32. The machine on which work is Windows 7 64 and varchar fields are read as TWideStringField, but when the same program compiled on my machine I run it on XP 32 or Windows 2003 Server, varchar fields are read as TStringField. Greetings.
by cfc
28.06.2012, 18:52
Forum: ZeosLib 7.0 Beta Forum
Topic: OCI_ERROR Error: ORA-01465
Replies: 3
Views: 3052

Michael, The LONG and LONG RAW datatypes have been deprecated in favour of LOBs for many Oracle versions. But, for example, when Zeos retrieve metadata from database use this filed type. NLS_LANG=AMERICAN_AMERICA.UTF8 clientcodepage is blank in ZConection i'm testing with clientcodepage=UTF8 and fai...
by cfc
28.06.2012, 13:54
Forum: ZeosLib 7.0 Beta Forum
Topic: OCI_ERROR Error: ORA-01465
Replies: 3
Views: 3052

OCI_ERROR Error: ORA-01465

Michael, I am using Oracle and download the latest version of SVN and now I have problems with queries where the answer is a field of type long and has data, if the field is empty does not generate error. The error was detected when looking for the metadata and the data field has DATA_DEFAULT. LOG: ...
by cfc
27.06.2012, 18:25
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Error if param is null
Replies: 3
Views: 608

Michael,

Now i' m testing /branches/testing-egonhugeist.

Yes, the thread http://zeos.firmos.at/viewtopic.php?t=3522 is solved with this branch.

thanks.

cfc.
by cfc
27.06.2012, 16:05
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Error if param is null
Replies: 3
Views: 608

[patch_done] Error if param is null

hi, I' have a problem when the param of query is Null If the param is null "example: zquery1.parambyname('id').clear" when call de fuction LoadOracleVars in de line 413 of ZdbcOracleUtils (CurrentVar.Data := nil;) the reserved memory is lost and when other call the param have a value give ...
by cfc
16.06.2012, 01:06
Forum: ZeosLib 7.0 Beta Forum
Topic: [solved] parambyname asstring error
Replies: 5
Views: 1564

I´ using the last version of svn. The problem is in TZParamsSQLDA.EncodeString line 1801 of ZDbcInterbase6Utils.pas In line 1824 Move(PAnsiChar(Str)^, sqldata^, sqllen); I' declare variable s: RawByteString; and change de line 1824 s := str; Move(PAnsiChar(s)^, sqldata^, sqllen); This works, but not...