[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: JDBC in an XQuery world (?)
- From: David Lee <dlee@calldei.com>
- To: David Lee <dlee@calldei.com>
- Date: Sun, 2 Oct 2011 12:41:56 -0400

For a metaphor. Replace iPhone -> Oracle Android -> XML DB Then watch this video http://www.youtube.com/watch?v=FL7yD-0pqZg This is the world I live in ... and maybe just maybe there is a solution.
This is one way of looking at it and perhaps the most fruitful. But I disagree with the premise that jdbc MUST use SQL as the query language. The difference between vendor's "SQL" is so vast they might as well be different languages. So why not allow pure xquery as the JDBC query string?But I agree there would be more portability If the language was SQL like.As for the results .. Xquery returns xdm not XML so there needs to be a mapping of xdm to ResultSet interface.Maybe not all xdm maps well but I could imagine a convention like say XDML which provides enough metadata to map the result XDM to a result set.Sent from my iPhoneOn Oct 2, 2011, at 12:23 PM, John Cowan <cowan@m...> wrote:
David Lee scripsit:
Suppose we had a JDBC interface to XQuery/XML databases ? Sure it wouldn't
be the best choice ... but then neither is using JDBC for Oracle or MySQL
JDBC is just a thin layer over SQL; JDBC clients construct SQL strings, possibly
with variables in them. So the question is: what would it mean for an
XQuery database to expose a SQL API? It would require a mapping of the
XML data model onto a relational data model, which inevitably would
require discarding some information. What information exactly? Would it
be possible to access every XML document, or just some of them?
--
A poetical purist named Cowan [that's me: cowan@c...]
Once put the rest of us dowan. [on xml-dev]
"Your verse would be sweeter http://www.ccil.org/~cowan
If it only had metre
And rhymes that didn't force me to frowan." [overpacked line!] --Michael Kay
_______________________________________________________________________XML-DEV is a publicly archived, unmoderated list hosted by OASISto support XML implementation and development. To minimizespam in the archives, you must subscribe before posting.[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/Or unsubscribe: xml-dev-unsubscribe@l...subscribe: xml-dev-subscribe@l...List archive: http://lists.xml.org/archives/xml-dev/List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
|

[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
 |
Atom 0.3 |
 |
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|