BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XML in Oracle 9i

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi XML
View previous topic :: View next topic  
Author Message
Hugh Jones
Guest





PostPosted: Mon May 23, 2005 12:49 pm    Post subject: XML in Oracle 9i Reply with quote



I have a simple query which runs fine in SQL*Plus :

SELECT
XMLELEMENT("cawcc_item",
XMLELEMENT("item_id",ITEM_ID),
XMLELEMENT("subtype_id",SUBTYPE_ID) ,
XMLELEMENT("type_id",TYPE_ID)) as result
FROM
ALL_ITEMS, HJResults
WHERE
ALL_ITEMS.ITEM_ID = HJResults.IID

But which fails in Delphi (dbExpress AND bde) with the error :

'SQL Server Error: ORA-04043: object "XMLTYPE" does not exist'.

I have googled the issue with no real luck, and wondered if anyone can
throw some light on this.

Thanks all
Hugh
Back to top
Mike Shkolnik
Guest





PostPosted: Mon May 23, 2005 2:15 pm    Post subject: Re: XML in Oracle 9i Reply with quote



DOA supports the XMLTYPE:
http://www.allroundautomations.nl

--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com

"Hugh Jones" <Hugh.Jones (AT) No_spammmers_Mail (DOT) Thomson.com> wrote

Quote:
I have a simple query which runs fine in SQL*Plus :

SELECT
XMLELEMENT("cawcc_item",
XMLELEMENT("item_id",ITEM_ID),
XMLELEMENT("subtype_id",SUBTYPE_ID) ,
XMLELEMENT("type_id",TYPE_ID)) as result
FROM
ALL_ITEMS, HJResults
WHERE
ALL_ITEMS.ITEM_ID = HJResults.IID

But which fails in Delphi (dbExpress AND bde) with the error :

'SQL Server Error: ORA-04043: object "XMLTYPE" does not exist'.

I have googled the issue with no real luck, and wondered if anyone can
throw some light on this.

Thanks all
Hugh



Back to top
Hugh Jones
Guest





PostPosted: Tue May 24, 2005 8:48 am    Post subject: Re: XML in Oracle 9i Reply with quote



Mike Shkolnik wrote:
Quote:
DOA supports the XMLTYPE:
http://www.allroundautomations.nl

Do I take it, then, that there is no way round this issue without third

party software ?

Cheers
H

Back to top
Robert Loof
Guest





PostPosted: Tue May 24, 2005 2:44 pm    Post subject: Re: XML in Oracle 9i Reply with quote

Hugh,

From what I remember ODAC vcl supports XMLTYPE. Not sure, but check it
out.

http://crlab.com/odac/

Hugh Jones wrote:
Quote:

I have a simple query which runs fine in SQL*Plus :

SELECT
XMLELEMENT("cawcc_item",
XMLELEMENT("item_id",ITEM_ID),
XMLELEMENT("subtype_id",SUBTYPE_ID) ,
XMLELEMENT("type_id",TYPE_ID)) as result
FROM
ALL_ITEMS, HJResults
WHERE
ALL_ITEMS.ITEM_ID = HJResults.IID

But which fails in Delphi (dbExpress AND bde) with the error :

'SQL Server Error: ORA-04043: object "XMLTYPE" does not exist'.

I have googled the issue with no real luck, and wondered if anyone can
throw some light on this.

Thanks all
Hugh

Back to top
Mike Shkolnik
Guest





PostPosted: Tue May 24, 2005 8:18 pm    Post subject: Re: XML in Oracle 9i Reply with quote

Quote:
Do I take it, then, that there is no way round this issue without third
party software ?
Yes, you need the third-party components for XMLTYPE support

--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com



Back to top
Hugh Jones
Guest





PostPosted: Wed May 25, 2005 7:46 am    Post subject: Re: XML in Oracle 9i Reply with quote

Robert Loof wrote:
Quote:
Hugh,

From what I remember ODAC vcl supports XMLTYPE. Not sure, but check it
out.

Mike, Robert.


Third Party Tools are not an option, unfortunately. I will have to
Hand-craft my XML.

Thanks for your help.

Hugh

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi XML All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.