D2010, Oracle10g and problem with VARCHAR2 and NVARCHAR2

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
hsk
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 29.11.2009, 05:22
Location: Rio de Janeiro

D2010, Oracle10g and problem with VARCHAR2 and NVARCHAR2

Post by hsk »

Hi,

I'm using D2010 (update 4/5), Oracle 10g Express (Release 2) and ZeosLib 7.0.0-dev SVN 809.

When I tried to update a VARCHAR2 field it saves only the first character and when I tried to update a NVARCHAR2 field I got the exception "Type mismatch".

I read a topic about the exception "Type mismatch" using strings, and I tried change some code of the source, but it isn't work.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

hsk,
It's just this kind of trouble that made us decide not to actively support Oracle any longer. Probably D2009+ messes up the buffers used in communication with the OCI. We really need somebody who can check what really happens when posting these data in an Oracle environment. Did you find a solution?

Mark
Image
Marius2
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: 06.12.2008, 13:07

Post by Marius2 »

I just revived Zeos after 2 years, we need a component set which works with firebird, mssql and oracle (and problably some others as well in the future).

Is anybody working on the oracle OCI layer and is there any news/improvements?

I'm not afraid to look into this, but i'm totally new in the oracle area (need todo a oracle project in the next weeks)
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Marius2,

There have been oracle patches within the last 2 years, so please give it a try.
When you're not using D2010+ the possibility of success is even better.

Mark
Image
Marius2
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: 06.12.2008, 13:07

Post by Marius2 »

Sorry, we are using the latest 7.0 beta via svn and are using 2010 (and soon delphi XE i hope)
Locked