Search found 27 matches
- 01.07.2013, 08:06
- Forum: ZeosLib 7.1 stable Forum
- Topic: [patch_done] Oracle - stored procedures packages
- Replies: 17
- Views: 5699
Sorry, don't understand your question. StoredProcName combobox (drop-down list) working fine now. Next, when we specify StoredProcName, Zeos look up into metadata for parameters list. If it normal procedure, it get it's parameters. If it packaged procedure (with package name prefix), then parameters...
- 24.06.2013, 09:32
- Forum: ZeosLib 7.1 stable Forum
- Topic: [patch_done] Oracle - stored procedures packages
- Replies: 17
- Views: 5699
EgonHugeist, sorry for silence for long time. I just returned from travel. I just tested last SVN snapshot (2415) on Lazarus 1.0.10 (win32). Procedure names now showed correctly, but parameters is empty - they dont't filled on .StoredProcName change. Some log output: 2013-06-24 12:21:46 cat: Execute...
- 31.05.2013, 10:01
- Forum: ZeosLib 7.1 stable Forum
- Topic: [patch_done] Oracle - stored procedures packages
- Replies: 17
- Views: 5699
- 30.05.2013, 13:53
- Forum: ZeosLib 7.1 stable Forum
- Topic: [patch_done] Oracle - stored procedures packages
- Replies: 17
- Views: 5699
Sorry, i don't know much details about Oracle packages, but i use it just like other Oracle procedures and functions, exept they have package name prefix: standard_procedure(param1, param2) package_name.package_procedure(param1, param2) Parameters names in packages is same, no additional prefixes. N...
- 27.05.2013, 11:47
- Forum: ZeosLib 7.1 stable Forum
- Topic: [patch_done] Oracle - stored procedures packages
- Replies: 17
- Views: 5699
Procedure packages don't working with quotes or without quotes - problem in ZStoredProc for Oracle. When i use ZQuery for package procedure call - it working fine: procedure Tdm_ora_main.SaveGrant(Item: TGrant); var Query: TZQuery; begin Query:=ZQuery; if not Query.Connection.Connected then Query.Co...
- 15.05.2013, 09:44
- Forum: Firebird
- Topic: BUG 7.0.3 - query with params - dont return any record
- Replies: 7
- Views: 3010
- 08.05.2013, 13:39
- Forum: ZeosLib 7.1 stable Forum
- Topic: [patch_done] Oracle - stored procedures packages
- Replies: 17
- Views: 5699
[patch_done] Oracle - stored procedures packages
Lazarus 1.0.8 Win7 32 bit Zeos 7.1 alpha SVN rev.2224 Some strange behavior of Oracle stored procedures packages. They showed in procedure list witch quotes, and they params prefixed with procedure name. Procedure name without quotes or in lower case don't working. Even with suggested names procedur...
- 09.01.2013, 10:04
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Oracle - wrong parameters mapping in stored function call
- Replies: 11
- Views: 3916
- 01.01.2013, 14:59
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Oracle - wrong parameters mapping in stored function call
- Replies: 11
- Views: 3916
Well that's propably right, i know. But i wasn't able to set the ReturnValue to the last place on the list with just one fetch (An issue of the VirtualResultSet vs. Interfaces). So i decided to use two calls do determine if the StoredProcedure can be handled as Procedure or as Function. You can sto...
- 01.01.2013, 14:30
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Oracle - wrong parameters mapping in stored function call
- Replies: 11
- Views: 3916
We can just fetch all parameters by one request. If there param with pos=0, then it ReturnValue. Procedures don't have parameter with pos=0, anyway. I don't have access to database from home, but examples very simple. Function with some parameters: FUNCTION test ( some_id IN NUMBER, some_str OUT VAR...
- 01.01.2013, 10:53
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Oracle - wrong parameters mapping in stored function call
- Replies: 11
- Views: 3916
- 27.12.2012, 10:55
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Oracle - wrong parameters mapping in stored function call
- Replies: 11
- Views: 3916
Oracle - wrong parameters mapping in stored function call
Oracle 10 / Win32 / Lasarus 1.0.4 / Zeos 7.0.SVN ZProc.StoredProcName:='ADD_DOC'; ZProc.ParamByName('l_mifare_id').AsString:=Account.MifareID; ZProc.ExecProc(); Causes error: EZVariantExeption - Types mismath ZVariant.pas - 395 Backtrace show, that problem in TZOracleCallableStatement.ArrangeInParam...