Search found 2845 matches
- Fri 16 Jun 2006 09:01
- Forum: Oracle Data Access Components
- Topic: refresh problems
- Replies: 4
- Views: 2063
- Tue 13 Jun 2006 11:20
- Forum: Oracle Data Access Components
- Topic: ApplyUpdates
- Replies: 1
- Views: 2044
- Tue 13 Jun 2006 10:56
- Forum: Oracle Data Access Components
- Topic: Error FieldKind ODAC 5.70.1.33
- Replies: 3
- Views: 1678
- Tue 13 Jun 2006 09:20
- Forum: Oracle Data Access Components
- Topic: SQL hourglass - only showing, when SQL command takes more time than 2 seconds
- Replies: 1
- Views: 1501
- Tue 13 Jun 2006 09:07
- Forum: Oracle Data Access Components
- Topic: Unicode problem (Property does not exist)
- Replies: 1
- Views: 1429
- Tue 13 Jun 2006 08:45
- Forum: Oracle Data Access Components
- Topic: AV when using XMLTYPE params
- Replies: 1
- Views: 1819
When working with TOraStoredProc you should manually set DataType property to ftXml for XMLTYPE parameters. We have fixed this bug, and the fix will be included in next build of ODAC.
Creating XMLTYPE from LOB with method TOraXML.AllocObject(SvcCtx: pOCISvcCtx; OraLob: TOraLob) does not work on some versions of Oracle client. In that case you can assign value to XMLTYPE parameter using TOraXML.AsString property (if length of the XML text is not more than 4000 characters).
Or you can use temporary CLOB with TOraSQL component. Assign the following text to SQL property:
DECLARE
Result_xml XMLTYPE;
BEGIN
Result_xml := Return_xml(XMLTYPE(:arg));
:Result := Result_xml.GetClobVal;
END;
Set DataType property of parameters ARG and RESULT to ftOraClob. Set ParamType of ARG to ptInput and ParamType of RESULT to ptOutput.
Creating XMLTYPE from LOB with method TOraXML.AllocObject(SvcCtx: pOCISvcCtx; OraLob: TOraLob) does not work on some versions of Oracle client. In that case you can assign value to XMLTYPE parameter using TOraXML.AsString property (if length of the XML text is not more than 4000 characters).
Or you can use temporary CLOB with TOraSQL component. Assign the following text to SQL property:
DECLARE
Result_xml XMLTYPE;
BEGIN
Result_xml := Return_xml(XMLTYPE(:arg));
:Result := Result_xml.GetClobVal;
END;
Set DataType property of parameters ARG and RESULT to ftOraClob. Set ParamType of ARG to ptInput and ParamType of RESULT to ptOutput.
- Thu 08 Jun 2006 13:25
- Forum: Oracle Data Access Components
- Topic: Problems with TOraLoader and floating point values if using Oracle (german locale settings); ORA-01722: invalid number
- Replies: 3
- Views: 3682
- Thu 08 Jun 2006 13:04
- Forum: Oracle Data Access Components
- Topic: Updating LOB field to null
- Replies: 4
- Views: 3017
- Thu 08 Jun 2006 09:41
- Forum: Oracle Data Access Components
- Topic: TOraStoredProc.Overload not working
- Replies: 1
- Views: 1885
TOraStoredProc component uses Overload property to create PL/SQL call to stored procedure and to create parameters. But if in your package there is more than one overloaded procedure that can be called with such parameters error will be raised. You should alter your package so that only one overload of procedure RELEASE_PICK_LOT can be called with two parameters of type Float.
- Tue 06 Jun 2006 13:26
- Forum: Oracle Data Access Components
- Topic: Updating LOB field to null
- Replies: 4
- Views: 3017
We cannot reproduce the error. Please specify versions of Oracle server and client you use and also Delphi version, whether you use Net option to connect to database.
If it is possible send to ODAC support address complete sample that demonstrates the problem and include script to create server objects.
If it is possible send to ODAC support address complete sample that demonstrates the problem and include script to create server objects.