This page seems to be no longer up to date. It needs a rework.
XSQL is Oracle's tool for turning SQL queries into XML or for taking XML and insert/updating it into a database. This can be a handy tool when you wish to either enrich or expose SQL data to an ESB or extract part of an XML document and persist it into a database.
Note that XSQL is quite simple, but useful. If you want something more complex and powerful you might want to look at using a scripting language like Groovy.
Example XSQL document
Firstly here is an example XSQL document. As you can see its a piece of XML which allows embedded SQL statements inside it.
This example page could produce something like...
Then we can convert this into a JBI component and apply it in a pipeline as follows...
There are 2 main modes of operation for this component
- you explicitly specify the XSQL page to use inside the component when it is invoked. This is useful if you wish to requery a database at timed intervals for example and publish the XML content
- the inbound XML content is assumed to be an XSQL page which is then evaluated against its database. This allows you to send an XSQL page to this component to be evaluated.
2 Comments
Anonymous
ionolsen42 Hello Jane, great site! http://www_3_1.gmail.com/ www_3_1
http://www_3_2.gmail.com/ www_3_2
http://www_3_3.gmail.com/ www_3_3
http://www_3_4.gmail.com/ www_3_4
http://www_3_5.gmail.com/ www_3_5
http://www_3_6.gmail.com/ www_3_6
http://www_3_7.gmail.com/ www_3_7
http://www_3_8.gmail.com/ www_3_8
http://www_3_9.gmail.com/ www_3_9
http://www_3_10.gmail.com/ www_3_10
http://www_3_11.gmail.com/ www_3_11
Anonymous
ionolsen43 I just don not have anything to say right now. http://wiki.cubic.uni-koeln.de/cdkwiki/media/carinsurancerate.html insurance claims
http://wiki.cubic.uni-koeln.de/cdkwiki/media/autoinsurancequote.html auto insurance ais
http://www.spod.ethz.ch/wiki/lib/exe/fetch.php?id=spod%3Aanregungen_webseite&cache=cache&media=spod:carinsurancerate.html liability insurance
http://wiki.cubic.uni-koeln.de/cdkwiki/media/lifeinsurance.html insurance lead life
http://www.spod.ethz.ch/wiki/lib/exe/fetch.php?id=spod%3Aanregungen_webseite&cache=cache&media=spod:insurancelife.html term life insurance
http://wiki.cubic.uni-koeln.de/cdkwiki/media/autoinsurance.html car insurance tesco