Search found 91 matches

by pol
04.01.2007, 11:28
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ApplyUpdate in designtime
Replies: 4
Views: 831

Hi,

Either you can set QRY.CachedUpdates to false after creating it, or call ApplyUpdates after ExecSQL, that should work. Calling ApplyUpdates for an other TZQuery will only apply the updates of that.

HTH
Rüdiger
by pol
15.11.2006, 11:08
Forum: DB2
Topic: where's oracle support?
Replies: 1
Views: 3018

Oracle IS supported! Look at TZConnection.Protocol. There you will find oracle and oracle-9i. If you want DB2 support, you will probably have to write it yourself and contribute it to the project...
by pol
08.11.2006, 12:24
Forum: Firebird
Topic: Experience with Zeos and Firebird
Replies: 2
Views: 2130

Well, I only use Zeos in "private" projects, so there are no problems with performance and concurrence, with Firebird, MySQL, a little Oracle, mostly with Kylix. There have been nor real difficulties so far, and if you encounter them, there is this forum.

hth
Rüdiger
by pol
05.10.2006, 11:54
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Error With CLOB on ORACLE9i
Replies: 5
Views: 909

Happens to me too: ORA-00932 - BINARY expected - got BLOB (in my case it is BLOB not CLOB), which is strange, it is a BLOB and it should expect a BLOB. ZSQLMonitor didn't show anything suspicious. Maybe it is because the client is 10g and the database 8i. I didn't investigate it further up to now.
by pol
22.09.2006, 09:59
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: trouble connecting oracle
Replies: 7
Views: 1901

Hi, Have you tried to use the Instant Client? This one consists mainly of some dlls. It can be downloaded from technet for free. You will still need a tnsnames.ora (with IP of the server etc.) and an environment variable TNS_ADMIN which points to the directory where tnsnames.ora is located. hth Rüdi...
by pol
15.09.2006, 12:51
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: cannot update this query type
Replies: 4
Views: 822

One of the most common causes is that you didn't set ReadOnly to false in the TQuery properties.
by pol
30.08.2006, 09:17
Forum: Firebird
Topic: copy mysql data to firebird
Replies: 6
Views: 2720

Just being curious: how did you solve it?
by pol
15.08.2006, 12:26
Forum: 6.1.5
Topic: Zeos Cannot Commit
Replies: 1
Views: 3721

For me it helped to do a ZQuery.ApplyUpdates after the ZQuery.Post, although I didn't use cached updates.
With autocommit try it this way: set it to true, then at the right point issue a StartTransaction (which sets it internally to false, strange enough...) and finally a Commit.

hth
Rüdiger
by pol
19.07.2006, 11:42
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: oralcal modify error
Replies: 3
Views: 977

What do you think it should behave? If the SQL hits many rows it will update many rows, it has nothing to do with zeos.
Why is there no primary key? It would make things much easier, and you would not have such a huge where clause.
by pol
19.07.2006, 08:58
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Fields editor on Lazarus
Replies: 4
Views: 1334

Hi!

For me it works normally, as in Delphi: doubleclick on the TZQuery, or right-click and then choose Edit Fields.
I use Lazarus 0.9.13 (quite old, I know) and Zeoslib (zeosdbo_rework) from 2006-03-18, I don't remember from where.

Regards,
Rüdiger
by pol
07.07.2006, 12:25
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: invalid operation in non auto commit mode
Replies: 11
Views: 5550

Hello! I have to agree with Fabian. The behaviour is strange and not what you would expect. If you would like to do transactions on your own, you would put autocommit=false and then when wanted to start a transaction, and here comes this error. But as now quite everybody knows that it works this way...
by pol
02.06.2006, 10:17
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Oracle10gXe - the size problem
Replies: 12
Views: 2217

You can not change the character set after database creation, only by doing an export > create a new database with the new character set > import. Understandably, as the present character set is "physically there". Still more so, if you want to change from a 1 byte to a 2 byte characterset...
by pol
02.06.2006, 08:55
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Connecting to OracleXE
Replies: 7
Views: 1791

Cariad,

In your tnsnames.ora entry the SERVICE_NAME line looks wrong for me. Either write SID = XE or SERVICE_NAME = XE.mydomain.fr

hth
Rüdiger
by pol
01.06.2006, 10:38
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Oracle 10gXE - readonly transaction
Replies: 10
Views: 22430

We are talking here about "transaction isolation level", and there is no such as read only with Oracle. It is a bug in the documentation. From Metalink: Chapter 20 in the Oracle9i Database Concepts Release 2(9.2) Part Number: A96524-01 contains the following section: "You can set the ...
by pol
01.06.2006, 10:24
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Oracle10gXe - the size problem
Replies: 12
Views: 2217

Not a bad trick. But to be shure what the actual length in bytes is, use the lengthb function in a query. This works of course only for Oracle, so it is not what you really want. Hard to try to be dbms-independent.